diff options
author | Sinisa@sinisa.nasamreza.org <> | 2002-12-23 14:56:41 +0200 |
---|---|---|
committer | Sinisa@sinisa.nasamreza.org <> | 2002-12-23 14:56:41 +0200 |
commit | 669184f41ef2c6255bbea26838575bf4d3497fab (patch) | |
tree | 0d17959f74c5e641324e58b4cd2581dcd7a8fd17 /sql/log.cc | |
parent | 446b9c0768628143e0a52b66ede392823aa89b71 (diff) | |
download | mariadb-git-669184f41ef2c6255bbea26838575bf4d3497fab.tar.gz |
many bug fixes
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc index b6c842e551d..ab3277fe58b 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -963,6 +963,7 @@ bool MYSQL_LOG::write(THD *thd,const char *query, uint query_length, end=strxmov(buff, "# administrator command: ", command_name[thd->command], NullS); query_length=(ulong) (end-buff); + query=buff; } if (my_b_write(&log_file, (byte*) query,query_length) || my_b_write(&log_file, (byte*) ";\n",2) || |