diff options
author | Michael Widenius <monty@askmonty.org> | 2012-03-20 15:23:56 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-03-20 15:23:56 +0200 |
commit | a579adea666cffc3b59d24a3d400d93bc7693d8e (patch) | |
tree | bee625e51379dac581a80c7f9ab8a886583d80ce /sql/lock.cc | |
parent | 51c77ec5d406843bb8c8131f0687f4f75839d045 (diff) | |
download | mariadb-git-a579adea666cffc3b59d24a3d400d93bc7693d8e.tar.gz |
Cleanups:
- Don't use SAFEMALLOC on valgrind builds (slows things down)
- Added back lost option from 5.3: debug-mutex-deadlock-detector
- Flush pages before taking lock mutex (speeds up closing of Aria tables).
BUILD/SETUP.sh:
- Don't use SAFEMALLOC on valgrind builds (slows things down)
sql/lock.cc:
Make default argument explicit (improves readability)
sql/mysqld.cc:
Removed compiler warnings
Sorted debug options alphabetically
Added back lost option from 5.3: debug-mutex-deadlock-detector
storage/maria/ma_close.c:
Flush pages before taking lock mutex (speeds up closing of Aria tables).
storage/maria/ma_open.c:
More DBUG_PRINT
storage/maria/maria_def.h:
Better DBUG_PRINT
storage/maria/trnman.c:
Better DBUG_PRINT
Diffstat (limited to 'sql/lock.cc')
-rw-r--r-- | sql/lock.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/lock.cc b/sql/lock.cc index a7029548493..c5a4674bfb0 100644 --- a/sql/lock.cc +++ b/sql/lock.cc @@ -399,7 +399,7 @@ void mysql_unlock_some_tables(THD *thd, TABLE **table,uint count) { MYSQL_LOCK *sql_lock; if ((sql_lock= get_lock_data(thd, table, count, GET_LOCK_UNLOCK))) - mysql_unlock_tables(thd, sql_lock); + mysql_unlock_tables(thd, sql_lock, 1); } |