summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
author <Li-Bing.Song@sun.com>2009-11-03 18:20:08 +0800
committer <Li-Bing.Song@sun.com>2009-11-03 18:20:08 +0800
commitc3345f3e4717f8352afa9c7601358fddcbac1174 (patch)
treea37b65d4d82dc1197dabf02371548c8bb0c3f37a /sql/sql_base.cc
parent9a0836289761d474ec3372f9fe219b1500e80b52 (diff)
parent133bfc7fdba0e1d70fe07283959b8681ef55a5d2 (diff)
downloadmariadb-git-c3345f3e4717f8352afa9c7601358fddcbac1174.tar.gz
Manual Merge
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index af18660b9a5..be31ffe04dd 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1548,6 +1548,7 @@ void close_temporary_tables(THD *thd)
s_query.length() - 1 /* to remove trailing ',' */,
0, FALSE, 0);
qinfo.db= db.ptr();
+ qinfo.db_len= db.length();
thd->variables.character_set_client= cs_save;
mysql_bin_log.write(&qinfo);
thd->variables.pseudo_thread_id= save_pseudo_thread_id;