summaryrefslogtreecommitdiff
path: root/sql/log.h
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2006-06-21 14:53:40 +0500
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2006-06-21 14:53:40 +0500
commitf4e2516a1a010b95b437f89f0b0c6cb4256ca733 (patch)
tree34deceeb6427ae66dc1c1ae60c153478d7255c1a /sql/log.h
parent4ea947bf914cadc963c1f20cda1e5a2747260942 (diff)
downloadmariadb-git-f4e2516a1a010b95b437f89f0b0c6cb4256ca733.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.h8
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();