summaryrefslogtreecommitdiff
path: root/storage/xtradb/buf/buf0rea.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/buf/buf0rea.c')
-rw-r--r--storage/xtradb/buf/buf0rea.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/buf/buf0rea.c b/storage/xtradb/buf/buf0rea.c
index 6d76a488af7..cf0a029df92 100644
--- a/storage/xtradb/buf/buf0rea.c
+++ b/storage/xtradb/buf/buf0rea.c
@@ -235,7 +235,8 @@ not_to_recover:
sync, space, 0, offset, 0, UNIV_PAGE_SIZE,
((buf_block_t*) bpage)->frame, bpage, trx);
}
- if(sync) {
+
+ if (sync) {
thd_wait_end(NULL);
}