summaryrefslogtreecommitdiff
path: root/storage/innobase/include/log0log.ic
diff options
context:
space:
mode:
authorInaam Rana <inaam.rana@oracle.com>2010-06-21 11:52:09 -0400
committerInaam Rana <inaam.rana@oracle.com>2010-06-21 11:52:09 -0400
commitd860510452fd7a86a83d7d81f5c3a2cb76f5ef10 (patch)
tree3791c47fd7cbc49d9eff2a364560be183667ef5d /storage/innobase/include/log0log.ic
parent97d36ef532d4f0e9cd64eeb314167ff45a00ac6d (diff)
downloadmariadb-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.ic5
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) {