summaryrefslogtreecommitdiff
path: root/libmysql/libmysql.c
diff options
context:
space:
mode:
authorunknown <gkodinov@dl145s.mysql.com>2006-11-28 17:14:16 +0100
committerunknown <gkodinov@dl145s.mysql.com>2006-11-28 17:14:16 +0100
commit95b72158698f8b0ea0be7e9846a6e7fa1b9cc680 (patch)
tree83a78303b4c4267413216f751a1b6558df61ee99 /libmysql/libmysql.c
parent76b4ccbdf8d4913993eb64ef08986654ac5f0423 (diff)
parent7fe3f31345313d8580d1b5e976fcfed67160e06a (diff)
downloadmariadb-git-95b72158698f8b0ea0be7e9846a6e7fa1b9cc680.tar.gz
Merge bk-internal:/home/bk/mysql-5.1
into dl145s.mysql.com:/data0/bk/team_tree_merge/MERGE/mysql-5.1-opt client/mysqltest.c: Auto merged libmysql/libmysql.c: Auto merged mysql-test/r/information_schema.result: Auto merged mysql-test/t/disabled.def: Auto merged mysql-test/t/information_schema.test: Auto merged mysql-test/t/subselect.test: Auto merged mysql-test/t/type_newdecimal.test: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/filesort.cc: Auto merged sql/handler.cc: Auto merged sql/item_cmpfunc.cc: Auto merged sql/item_func.cc: Auto merged sql/item_subselect.cc: Auto merged sql/item_sum.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_lex.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_yacc.yy: Auto merged sql-common/client.c: Auto merged sql-common/my_time.c: Auto merged sql/table.cc: Auto merged strings/decimal.c: Auto merged
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r--libmysql/libmysql.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 9dc43cc9e6b..ac4548f7301 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -4762,14 +4762,6 @@ int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt)
DBUG_RETURN(1);
}
- if (result->data)
- {
- free_root(&result->alloc, MYF(MY_KEEP_PREALLOC));
- result->data= NULL;
- result->rows= 0;
- stmt->data_cursor= NULL;
- }
-
if (stmt->update_max_length && !stmt->bind_result_done)
{
/*