summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2003-07-12 16:04:42 +0200
committerunknown <guilhem@mysql.com>2003-07-12 16:04:42 +0200
commit9480ec828948191b4a924c36a5b183aab74ef27b (patch)
tree73da5c5b07124ced545eeb00f8234642076ab405 /sql/sql_repl.cc
parent5526d454fdae0d8bbaf580c8d322c11f2c6deed1 (diff)
downloadmariadb-git-9480ec828948191b4a924c36a5b183aab74ef27b.tar.gz
Cleaning after removing LOG_INFO_PURGE_NO_ROTATE.
sql/sql_repl.cc: In my previous change I removed 'no_rotate' from MYSQL_LOG, so this made LOG_INFO_PURGE_NO_ROTATE useless (an error code which was never returned), so I remove it of the 'switch'.
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index a671facdc08..6f0ee69413d 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -282,8 +282,6 @@ int purge_master_logs(THD* thd, const char* to_log)
case LOG_INFO_INVALID: errmsg = "Server configuration does not permit \
binlog purge"; break;
case LOG_INFO_SEEK: errmsg = "Failed on fseek()"; break;
- case LOG_INFO_PURGE_NO_ROTATE: errmsg = "Cannot purge unrotatable log";
- break;
case LOG_INFO_MEM: errmsg = "Out of memory"; break;
case LOG_INFO_FATAL: errmsg = "Fatal error during purge"; break;
case LOG_INFO_IN_USE: errmsg = "A purgeable log is in use, will not purge";