summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorGeorgi Kodinov <kgeorge@mysql.com>2008-10-09 13:39:42 +0300
committerGeorgi Kodinov <kgeorge@mysql.com>2008-10-09 13:39:42 +0300
commit0bc7aa2516fa4d4147d02faffeceaf810eb817e5 (patch)
treeec7f4c6d6edb8f29785373d16154388e80a69bdd /sql/mysqld.cc
parentc3296418e111e314cbdbd566545a9d2917f0cb21 (diff)
downloadmariadb-git-0bc7aa2516fa4d4147d02faffeceaf810eb817e5.tar.gz
WL4403: --general_log and --slow_query_log don't turn on the logging.
Fixed a compilation warning
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 5c64f3f866d..d59ea8eca45 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -7665,8 +7665,6 @@ mysqld_get_one_option(int optid,
break;
case 'l':
WARN_DEPRECATED(NULL, "7.0", "--log", "'--general_log'/'--general_log_file'");
- /* FALL-THROUGH */
- case OPT_GENERAL_LOG_FILE:
opt_log=1;
break;
case 'h':
@@ -7837,8 +7835,6 @@ mysqld_get_one_option(int optid,
#endif /* HAVE_REPLICATION */
case (int) OPT_SLOW_QUERY_LOG:
WARN_DEPRECATED(NULL, "7.0", "--log_slow_queries", "'--slow_query_log'/'--slow_query_log_file'");
- /* FALL-THROUGH */
- case (int) OPT_SLOW_QUERY_LOG_FILE:
opt_slow_log= 1;
break;
#ifdef WITH_CSV_STORAGE_ENGINE