diff options
author | Michael Widenius <monty@askmonty.org> | 2010-12-03 23:19:13 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2010-12-03 23:19:13 +0200 |
commit | d0ad135b6093998217a2fb255d6ee7a36e1ef4e8 (patch) | |
tree | 12ad173d05e5a954b2b4f5ee7104a2ba1f80590c /sql/debug_sync.cc | |
parent | d08e5cfad2161784bb40682a81a161f768a3ff22 (diff) | |
download | mariadb-git-d0ad135b6093998217a2fb255d6ee7a36e1ef4e8.tar.gz |
Fixed compiler warnings.
Fixed timing test failures.
Fixed a failure in the Aria engines page cache and log handler (found with maria.maria-big test)
- This could cause a core dump when deleting big blobs.
- Added test to end_pagecache() to verify that page cache was correctly used.
- inc_counter_for_resize_op and dec_counter_for_resize_op are called same number of times.
- All page cache blocks was properly deallocated (empty)
mysql-test/suite/innodb/t/innodb_bug38231.test:
Fixed timing issue (code comment says it all)
mysql-test/suite/innodb_plugin/t/innodb_bug38231.test:
Fixed timing issue (code comment says it all)
sql/debug_sync.cc:
Fixed compiler warning
storage/maria/ma_loghandler.c:
Fixed bug found by maria.maria-big test:
- Fixed race condition between update thread logging a very big blog and checkpoint thread.
storage/maria/ma_pagecache.c:
Added assert to ensure mutex was properly locked.
Added test to end_pagecache() to verify that page cache was correctly used.
- inc_counter_for_resize_op and dec_counter_for_resize_op are called same number of times.
- All page cache blocks was properly deallocated (empty)
In pagecache_delete_internal(), properly reset counters and pins if functions aborts.
Added missing inc_counter_for_resize_op() to pagecache_wait_lock().
Added missing dec_counter_for_resize_op() to pagecache_delete()
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r-- | sql/debug_sync.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc index 23a649a89fa..c9c580c6442 100644 --- a/sql/debug_sync.cc +++ b/sql/debug_sync.cc @@ -1719,6 +1719,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action) if (action->execute) { const char *old_proc_info; + LINT_INIT(old_proc_info); action->execute--; |