diff options
author | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2006-06-21 14:53:40 +0500 |
---|---|---|
committer | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2006-06-21 14:53:40 +0500 |
commit | 1c0ccad9e7fc46a22d11cae59e19c9c2ee2d366c (patch) | |
tree | 34deceeb6427ae66dc1c1ae60c153478d7255c1a /sql/log.h | |
parent | aba97a987dba827281be985326572eaa7d54c2aa (diff) | |
download | mariadb-git-1c0ccad9e7fc46a22d11cae59e19c9c2ee2d366c.tar.gz |
after merge fixes
mysql-test/r/partition_error.result:
result fix
sql/log.cc:
use open_slow_log() instead of open_query_log() for slow query log
sql/log.h:
after merge fix
sql/set_var.cc:
after merge fix
use open_slow_log() instead of open_query_log() for slow query log
Diffstat (limited to 'sql/log.h')
-rw-r--r-- | sql/log.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/log.h b/sql/log.h index 80992a7910a..b4818a370d7 100644 --- a/sql/log.h +++ b/sql/log.h @@ -467,8 +467,8 @@ public: CHARSET_INFO *client_cs); void flush(); void init_pthread_objects(); - MYSQL_LOG *get_mysql_slow_log() { return &mysql_slow_log; } - MYSQL_LOG *get_mysql_log() { return &mysql_log; } + MYSQL_QUERY_LOG *get_mysql_slow_log() { return &mysql_slow_log; } + MYSQL_QUERY_LOG *get_mysql_log() { return &mysql_log; } }; @@ -543,13 +543,13 @@ public: void init_general_log(uint general_log_printer); void deactivate_log_handler(THD* thd, uint log_type); bool activate_log_handler(THD* thd, uint log_type); - MYSQL_LOG *get_slow_log_file_handler() + MYSQL_QUERY_LOG *get_slow_log_file_handler() { if (file_log_handler) return file_log_handler->get_mysql_slow_log(); return NULL; } - MYSQL_LOG *get_log_file_handler() + MYSQL_QUERY_LOG *get_log_file_handler() { if (file_log_handler) return file_log_handler->get_mysql_log(); |