diff options
author | Inaam Rana <inaam.rana@oracle.com> | 2010-06-21 11:52:09 -0400 |
---|---|---|
committer | Inaam Rana <inaam.rana@oracle.com> | 2010-06-21 11:52:09 -0400 |
commit | d860510452fd7a86a83d7d81f5c3a2cb76f5ef10 (patch) | |
tree | 3791c47fd7cbc49d9eff2a364560be183667ef5d /storage/innobase/include/log0log.ic | |
parent | 97d36ef532d4f0e9cd64eeb314167ff45a00ac6d (diff) | |
download | mariadb-git-d860510452fd7a86a83d7d81f5c3a2cb76f5ef10.tar.gz |
Fixes bug#39168.
Make a call to log_free_check() on all DML paths.
Diffstat (limited to 'storage/innobase/include/log0log.ic')
-rw-r--r-- | storage/innobase/include/log0log.ic | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/storage/innobase/include/log0log.ic b/storage/innobase/include/log0log.ic index 139f4041a36..1ce00fd7313 100644 --- a/storage/innobase/include/log0log.ic +++ b/storage/innobase/include/log0log.ic @@ -433,7 +433,10 @@ void log_free_check(void) /*================*/ { - /* ut_ad(sync_thread_levels_empty()); */ + +#ifdef UNIV_SYNC_DEBUG + ut_ad(sync_thread_levels_empty_gen(TRUE)); +#endif /* UNIV_SYNC_DEBUG */ if (log_sys->check_flush_or_checkpoint) { |