diff options
author | unknown <cmiller@zippy.(none)> | 2006-05-02 15:09:35 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.(none)> | 2006-05-02 15:09:35 -0400 |
commit | 30e6df0ecd2a3505cf6f4ee7fd30c35ca8a0c625 (patch) | |
tree | ae4757daf2759240a3d1b1627e986f5b8f486511 /sql | |
parent | e8770dfe76a1244fccf2ca55e44e5b7b4eb5875d (diff) | |
parent | 567ae0ca263804313d6911f953707ebf30fa9c26 (diff) | |
download | mariadb-git-30e6df0ecd2a3505cf6f4ee7fd30c35ca8a0c625.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index ebf4b3fed66..b1b498b356d 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -1753,7 +1753,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; - general_log_print(thd, command, "%s", thd->query); + general_log_print(thd, command, "%.*b", thd->query_length, thd->query); DBUG_PRINT("query",("%-.4096s",thd->query)); if (!(specialflag & SPECIAL_NO_PRIOR)) |