summaryrefslogtreecommitdiff
path: root/storage/innobase/buf
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-08-03 13:03:47 +0200
committerSergei Golubchik <serg@mariadb.org>2015-08-03 13:03:47 +0200
commit56544122c75578a23a728e6acafc72dfc449484e (patch)
treec594bda4973264fc3ea7796bfbd0c826ba36a19b /storage/innobase/buf
parent139ba26dbacc37858d7746b8ef53a7330f9a8fcc (diff)
downloadmariadb-git-56544122c75578a23a728e6acafc72dfc449484e.tar.gz
5.6.26
Diffstat (limited to 'storage/innobase/buf')
-rw-r--r--storage/innobase/buf/buf0flu.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/buf/buf0flu.cc b/storage/innobase/buf/buf0flu.cc
index f3437c202f6..540d6383813 100644
--- a/storage/innobase/buf/buf0flu.cc
+++ b/storage/innobase/buf/buf0flu.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 1995, 2013, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 1995, 2015, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -929,11 +929,11 @@ buf_flush_write_block_low(
break;
case BUF_BLOCK_ZIP_DIRTY:
frame = bpage->zip.data;
+ mach_write_to_8(frame + FIL_PAGE_LSN,
+ bpage->newest_modification);
ut_a(page_zip_verify_checksum(frame, zip_size));
- mach_write_to_8(frame + FIL_PAGE_LSN,
- bpage->newest_modification);
memset(frame + FIL_PAGE_FILE_FLUSH_LSN, 0, 8);
break;
case BUF_BLOCK_FILE_PAGE: