diff options
author | unknown <lars@mysql.com> | 2005-08-24 01:45:15 +0200 |
---|---|---|
committer | unknown <lars@mysql.com> | 2005-08-24 01:45:15 +0200 |
commit | 15f626c2931097029b94f7361d88441fe691820d (patch) | |
tree | 8ea9857bb58308a66ee21be32486a05905301a34 /sql/sql_parse.cc | |
parent | 7271ea2508567a5e91552f8a08460b6ce23f07ce (diff) | |
download | mariadb-git-15f626c2931097029b94f7361d88441fe691820d.tar.gz |
BUG#12532: Fixes after review
sql/log_event.cc:
Review fixes
sql/sql_parse.cc:
Review fixes
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 31d0f3eb675..70920b07a97 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1218,7 +1218,8 @@ extern "C" pthread_handler_decl(handle_bootstrap,arg) length--; buff[length]=0; thd->query_length=length; - thd->query= thd->memdup_w_gap(buff, length+1, thd->db_length+1); + thd->query= thd->memdup_w_gap(buff, length+1, + thd->db_length+1+QUERY_CACHE_FLAGS_SIZE); thd->query[length] = '\0'; /* We don't need to obtain LOCK_thread_count here because in bootstrap |