summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-09-15 14:46:35 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-09-15 14:46:35 +0400
commiteab1dd4d079901c393e5e5e6a537c669c225fc79 (patch)
tree1972ed60ad937e632cf111e7beafb2148a87efeb /sql/slave.cc
parent77f8a772d7c469e6a0d22f928d743be63ee6836d (diff)
parent48831c7bb0d74cb515426bd63b9093c81d892d84 (diff)
downloadmariadb-git-eab1dd4d079901c393e5e5e6a537c669c225fc79.tar.gz
Merge lp:maria -> lp:~maria-captains/maria/maria-5.1-merge
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 84aae6eb683..926db30be15 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1756,6 +1756,7 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type)
+ MAX_LOG_EVENT_HEADER; /* note, incr over the global not session var */
thd->slave_thread = 1;
thd->enable_slow_log= opt_log_slow_slave_statements;
+ thd->variables.log_slow_filter= global_system_variables.log_slow_filter;
set_slave_thread_options(thd);
thd->client_capabilities = CLIENT_LOCAL_FILES;
pthread_mutex_lock(&LOCK_thread_count);