summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.(none)>2006-05-01 22:50:36 -0400
committerunknown <cmiller@zippy.(none)>2006-05-01 22:50:36 -0400
commit4d1cd02ef6fb976b12b0ee9542f49ababc81abeb (patch)
treeaae6cd99ec61e48a42db408ac62d15a8261284d3 /sql/sql_parse.cc
parent71c4827b8117f6626371a6389bc91496605ebf3c (diff)
parent3010890e589de89d2f5bb4c0e2c3a0b06b827b10 (diff)
downloadmariadb-git-4d1cd02ef6fb976b12b0ee9542f49ababc81abeb.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667 mysys/Makefile.am: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 57b430de485..196e723299a 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -1736,7 +1736,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
if (alloc_query(thd, packet, packet_length))
break; // fatal error is set
char *packet_end= thd->query + thd->query_length;
- mysql_log.write(thd,command,"%s",thd->query);
+ mysql_log.write(thd,command, "%.*b", thd->query_length, thd->query);
DBUG_PRINT("query",("%-.4096s",thd->query));
if (!(specialflag & SPECIAL_NO_PRIOR))