diff options
author | unknown <rafal@quant.(none)> | 2007-03-01 10:40:48 +0100 |
---|---|---|
committer | unknown <rafal@quant.(none)> | 2007-03-01 10:40:48 +0100 |
commit | 8fa0d1b98e701f3643093696ffe6e6ea02481a82 (patch) | |
tree | 257ad30ea75970a68ed7b60f20c68c49abcf9188 /sql/slave.cc | |
parent | 16e9e7ed4b5f55e64f1ca8ec8792671c07447835 (diff) | |
download | mariadb-git-8fa0d1b98e701f3643093696ffe6e6ea02481a82.tar.gz |
Removing two more compilation warnings.
sql/slave.cc:
Guard declaration of variable to avoid "unused variable" warning.
sql/sql_repl.cc:
Guard declaration of variable to avoid "unused variable" warning.
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 572fafd58b5..9d466ce5dad 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -52,7 +52,9 @@ ulonglong relay_log_space_limit = 0; int disconnect_slave_event_count = 0, abort_slave_event_count = 0; int events_till_abort = -1; +#ifndef DBUG_OFF static int events_till_disconnect = -1; +#endif typedef enum { SLAVE_THD_IO, SLAVE_THD_SQL} SLAVE_THD_TYPE; |