summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-04-28 15:54:03 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-04-28 15:54:03 +0300
commit504a3b32f6d752dbf44b8a67001b572cffefb9bb (patch)
treeb4f9dbf83c2437feb21f27c7b8ed7f897b0e84d6 /sql/log.cc
parent43fa8e0b8f3bae1ff8493cfd3adb39443da6a809 (diff)
parent133c2129cdbb77d8fd55fb303d6f73e1cd3c025c (diff)
downloadmariadb-git-504a3b32f6d752dbf44b8a67001b572cffefb9bb.tar.gz
Merge 10.8 into 10.9
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/sql/log.cc b/sql/log.cc
index c928934faa9..6317538cb44 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1701,13 +1701,9 @@ bool Log_to_csv_event_handler::init()
return 0;
}
-int LOGGER::set_handlers(ulonglong error_log_printer,
- ulonglong slow_log_printer,
+int LOGGER::set_handlers(ulonglong slow_log_printer,
ulonglong general_log_printer)
{
- /* error log table is not supported yet */
- DBUG_ASSERT(error_log_printer < LOG_TABLE);
-
lock_exclusive();
if ((slow_log_printer & LOG_TABLE || general_log_printer & LOG_TABLE) &&
@@ -1720,7 +1716,6 @@ int LOGGER::set_handlers(ulonglong error_log_printer,
"Falling back to the old-fashioned logs");
}
- init_error_log(error_log_printer);
init_slow_log(slow_log_printer);
init_general_log(general_log_printer);