summaryrefslogtreecommitdiff
path: root/libmysqld/lib_sql.cc
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/deer.(none) <>2006-10-24 17:50:46 +0500
committerholyfoot/hf@mysql.com/deer.(none) <>2006-10-24 17:50:46 +0500
commit887e6af60cb5eeea1f5b541821f54141d8c194b6 (patch)
treec4c71cb7f6f5f3a018f0d7133ef2b4cab0271e47 /libmysqld/lib_sql.cc
parent4eff5ab26a9e02b74f09836de55ee09b698227bf (diff)
parentd0ef58b6a481134610640857ec54d0259f151669 (diff)
downloadmariadb-git-887e6af60cb5eeea1f5b541821f54141d8c194b6.tar.gz
Merge mysql.com:/home/hf/work/0current_stmt/my41-current_stmt
into mysql.com:/home/hf/work/current_stmt/my50-current_stmt
Diffstat (limited to 'libmysqld/lib_sql.cc')
-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 40966be46a5..a88c0b135db 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
/*