summaryrefslogtreecommitdiff
path: root/storage/maria/unittest/ma_pagecache_consist.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/unittest/ma_pagecache_consist.c')
-rw-r--r--storage/maria/unittest/ma_pagecache_consist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/maria/unittest/ma_pagecache_consist.c b/storage/maria/unittest/ma_pagecache_consist.c
index 7dbdba433c6..0a9e5737c7e 100644
--- a/storage/maria/unittest/ma_pagecache_consist.c
+++ b/storage/maria/unittest/ma_pagecache_consist.c
@@ -476,6 +476,7 @@ int main(int argc __attribute__((unused)),
pthread_mutex_unlock(&LOCK_thread_count);
DBUG_PRINT("info", ("thread ended"));
+ flush_pagecache_blocks(&pagecache, &file1, FLUSH_IGNORE_CHANGED);
end_pagecache(&pagecache, 1);
DBUG_PRINT("info", ("Page cache ended"));