summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <Li-Bing.Song@sun.com>2009-11-03 18:20:08 +0800
committerunknown <Li-Bing.Song@sun.com>2009-11-03 18:20:08 +0800
commit9519c8e597ed46de2276f36cf91e0693ae0854fc (patch)
treea37b65d4d82dc1197dabf02371548c8bb0c3f37a /sql/sql_base.cc
parent1ca80ed19e14d8d5837fa900ad75ec1a7a7856e1 (diff)
parent9819885177059fd75f3250b917142eb9d6ae5b8c (diff)
downloadmariadb-git-9519c8e597ed46de2276f36cf91e0693ae0854fc.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;