summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-10-08 21:50:05 +0300
committerunknown <monty@narttu.mysql.fi>2003-10-08 21:50:05 +0300
commitd1d07c99d7dc1f443776a48e66aa471b3b4535e4 (patch)
treecaac541df5c696ac2dd3b9e21880442e8961b4dc /sql/sql_repl.cc
parent44e3cbcfeb14dd45b2eea154a8a602a5851cfac9 (diff)
downloadmariadb-git-d1d07c99d7dc1f443776a48e66aa471b3b4535e4.tar.gz
Indentation cleanups
Remove wait_if_global_read_lock on commit as this can cause deadlocks BUILD/FINISH.sh: Cleanup BUILD/SETUP.sh: Cleanup BUILD/compile-pentium-valgrind-max: Don't write message twice mysql-test/r/innodb.result: Removed failure as this can cause deadlocks mysql-test/r/rpl_max_relay_size.result: Make test repeatable mysql-test/t/innodb.test: Removed failure as this can cause deadlocks mysql-test/t/rpl_max_relay_size.test: Removed failure as this can cause deadlocks sql/handler.cc: Remove wait_if_global_read_lock as this can cause deadlocks sql/opt_range.cc: Indentation cleanup sql/sql_db.cc: Comment cleanup sql/sql_parse.cc: Comment cleanup sql/sql_repl.cc: Indentation cleanup sql/sql_select.cc: Indentation cleanup
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 7bb51989cc3..2345355922c 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -730,7 +730,7 @@ int start_slave(THD* thd , MASTER_INFO* mi, bool net_report)
to p, no digits were found, error. If it contains '\0' it
means conversion went ok.
*/
- if(p_end==p || *p_end)
+ if (p_end==p || *p_end)
slave_errno=ER_BAD_SLAVE_UNTIL_COND;
}
else
@@ -753,7 +753,7 @@ int start_slave(THD* thd , MASTER_INFO* mi, bool net_report)
ER(ER_UNTIL_COND_IGNORED));
- if(!slave_errno)
+ if (!slave_errno)
slave_errno = start_slave_threads(0 /*no mutex */,
1 /* wait for start */,
mi,