summaryrefslogtreecommitdiff
path: root/libmysqld
diff options
context:
space:
mode:
authorholyfoot/hf@deer.(none) <>2006-10-24 17:53:15 +0500
committerholyfoot/hf@deer.(none) <>2006-10-24 17:53:15 +0500
commite203abf0a1c4b7d065b2b40a8326f51f19dcc69a (patch)
treeda38a680803981a2ddc812b9958a5873cf415f34 /libmysqld
parent99b572b9ebdcc0fe1037bd764d58cf35fca2090d (diff)
parent887e6af60cb5eeea1f5b541821f54141d8c194b6 (diff)
downloadmariadb-git-e203abf0a1c4b7d065b2b40a8326f51f19dcc69a.tar.gz
Merge mysql.com:/home/hf/work/current_stmt/my50-current_stmt
into mysql.com:/home/hf/work/current_stmt/my51-current_stmt
Diffstat (limited to 'libmysqld')
-rw-r--r--libmysqld/lib_sql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc
index 5ac2c163c4e..a3edc310677 100644
--- a/libmysqld/lib_sql.cc
+++ b/libmysqld/lib_sql.cc
@@ -100,7 +100,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
mysql->affected_rows= ~(my_ulonglong) 0;
mysql->field_count= 0;
net->last_errno= 0;
- mysql->current_stmt= stmt;
+ thd->current_stmt= stmt;
thd->store_globals(); // Fix if more than one connect
/*