summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-08-31 14:35:04 +0300
committermonty@mysql.com <>2004-08-31 14:35:04 +0300
commit6adaff23a4b2170f59dda27cd5b897adb40c2542 (patch)
tree0b5dee6e825afda907f8333d42fa031460fb3597 /sql/lock.cc
parentceba1429b731a0712f49bcd43f70aabc41e8094f (diff)
downloadmariadb-git-6adaff23a4b2170f59dda27cd5b897adb40c2542.tar.gz
Review of new pushed code (Indentation fixes and simple optimizations)
Use 'mysqltest' as test database instead of test_$1 or test1,test2 to not accidently delete an important database Safety fix for mailformed MERGE files
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index fab0a61e506..215059b8a46 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -779,7 +779,8 @@ void unlock_global_read_lock(THD *thd)
(is_not_commit || \
global_read_lock_blocks_commit))
-bool wait_if_global_read_lock(THD *thd, bool abort_on_refresh, bool is_not_commit)
+bool wait_if_global_read_lock(THD *thd, bool abort_on_refresh,
+ bool is_not_commit)
{
const char *old_message;
bool result= 0, need_exit_cond;