summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-11-20 16:41:07 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-11-20 16:41:07 +0100
commit39641dfd65fd5c8e894a04c744b7a7f0b0e5e655 (patch)
treedf30f826b7e539818c0e15e7c30e39543bfea18e /libmysqld
parent1ed6500cf98dfd11d853d4255edbe30a2d6f0a3d (diff)
parent5aeeaaf507ac87f6ff56806fe8a356cea7d4a48f (diff)
downloadmariadb-git-39641dfd65fd5c8e894a04c744b7a7f0b0e5e655.tar.gz
merge
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 92b64d98fa0..31bd5f6cfc7 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -138,6 +138,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
result= dispatch_command(command, thd, (char *) arg, arg_length);
thd->cur_data= 0;
+ thd->mysys_var= NULL;
if (!skip_check)
result= thd->is_error() ? -1 : 0;