diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-12-23 14:56:41 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-12-23 14:56:41 +0200 |
commit | 00c6129c10fedf9b31f955cd03b3666ba7c42097 (patch) | |
tree | 0d17959f74c5e641324e58b4cd2581dcd7a8fd17 /sql/log.cc | |
parent | a3c5ad17472db208c676bbcb59a41fd7fe12b078 (diff) | |
download | mariadb-git-00c6129c10fedf9b31f955cd03b3666ba7c42097.tar.gz |
many bug fixes
sql/log.cc:
Fix for a bug in query logging ...
sql/mysqld.cc:
Fix for a bug with max_allowed_packt
sql/sql_select.cc:
Fix for a bug which is caused when a single table is scanned by
entire index and WHERE clause is so broad that JOIN type is JT_ALL.
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) || |