summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/deer.(none) <>2006-10-23 15:02:51 +0500
committerholyfoot/hf@mysql.com/deer.(none) <>2006-10-23 15:02:51 +0500
commit4d23559806b9380f985e42350b69bcfb03403208 (patch)
treef8ba62f8d39be3b6a5d3594010e042c5ebf2c084 /libmysql
parent0612a212d129501436025403787c48f74879b00a (diff)
downloadmariadb-git-4d23559806b9380f985e42350b69bcfb03403208.tar.gz
WL#3475 (Threads for the embedded server in mysqltest)
Necessary code added to mysqltest.c. Disabled tests are available now.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 91c0b6b8864..5577ecdb556 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -4395,13 +4395,6 @@ int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt)
set_stmt_error(stmt, CR_COMMANDS_OUT_OF_SYNC, unknown_sqlstate);
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)
{