Commit 2ae69313 authored by Sinisa@sinisa.nasamreza.org's avatar Sinisa@sinisa.nasamreza.org

Merge sinisa@work.mysql.com:/home/bk/mysql-4.0

into sinisa.nasamreza.org:/mnt/work/mysql-4.0
parents 8625fca7 ccade9a6
...@@ -1325,6 +1325,7 @@ bool MYSQL_LOG::write(THD *thd,const char *query, uint query_length, ...@@ -1325,6 +1325,7 @@ bool MYSQL_LOG::write(THD *thd,const char *query, uint query_length,
end=strxmov(buff, "# administrator command: ", end=strxmov(buff, "# administrator command: ",
command_name[thd->command], NullS); command_name[thd->command], NullS);
query_length=(ulong) (end-buff); query_length=(ulong) (end-buff);
query=buff;
} }
if (my_b_write(&log_file, (byte*) query,query_length) || if (my_b_write(&log_file, (byte*) query,query_length) ||
my_b_write(&log_file, (byte*) ";\n",2) || my_b_write(&log_file, (byte*) ";\n",2) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment