diff options
author | unknown <guilhem@mysql.com> | 2003-07-12 15:48:26 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2003-07-12 15:48:26 +0200 |
commit | 5526d454fdae0d8bbaf580c8d322c11f2c6deed1 (patch) | |
tree | 71b83417d4c94c3c228d1e59ebfaf80c8bcb6a6a /sql/sql_class.h | |
parent | 351a03df7a68ed539ac2fe2e4de6c769869c387b (diff) | |
download | mariadb-git-5526d454fdae0d8bbaf580c8d322c11f2c6deed1.tar.gz |
Member no_rotate in MYSQL_LOG was always 0, I delete it.
sql/log.cc:
Member no_rotate of MYSQL_LOG is useless; this shows it for sure:
[guilhem@gbichot2 mysql-4.0]$ bk -r grep no_rotate
sql/log.cc 1.83 no_rotate(0), need_start_event(1)
sql/log.cc 1.75 if (no_rotate)
sql/log.cc 1.89 if (!no_rotate)
sql/sql_class.h 1.119 bool no_rotate;
i.e. no_rotate is 0 all the time. So we don't need it.
Biggest part of the patch is indentation change.
sql/sql_class.h:
suppress no_rotate
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index dfdcbcc996c..24bbf9a6796 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -39,7 +39,6 @@ enum enum_delay_key_write { DELAY_KEY_WRITE_NONE, DELAY_KEY_WRITE_ON, #define LOG_INFO_IO -2 #define LOG_INFO_INVALID -3 #define LOG_INFO_SEEK -4 -#define LOG_INFO_PURGE_NO_ROTATE -5 #define LOG_INFO_MEM -6 #define LOG_INFO_FATAL -7 #define LOG_INFO_IN_USE -8 @@ -86,7 +85,6 @@ class MYSQL_LOG { volatile enum_log_type log_type; enum cache_type io_cache_type; bool write_error; - bool no_rotate; bool need_start_event; bool no_auto_events; // for relay binlog /* |