From 71a596b90cc673f9c750d61fd70a4dc5d39d3244 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Jul 2014 12:37:34 +0300 Subject: [PATCH] Makes innodb/xtradb compilable in 5.5 --- storage/innobase/page/page0zip.c | 1 + storage/xtradb/page/page0zip.c | 1 + 2 files changed, 2 insertions(+) diff --git a/storage/innobase/page/page0zip.c b/storage/innobase/page/page0zip.c index e8ebafd00cd..3d651f548fd 100644 --- a/storage/innobase/page/page0zip.c +++ b/storage/innobase/page/page0zip.c @@ -47,6 +47,7 @@ Created June 2005 by Marko Makela # define lock_move_reorganize_page(block, temp_block) ((void) 0) # define buf_LRU_stat_inc_unzip() ((void) 0) #endif /* !UNIV_HOTBACKUP */ +#include "srv0srv.h" #ifndef UNIV_HOTBACKUP /** Statistics on compression, indexed by page_zip_des_t::ssize - 1 */ diff --git a/storage/xtradb/page/page0zip.c b/storage/xtradb/page/page0zip.c index de9a6fd920a..a4ebb250d95 100644 --- a/storage/xtradb/page/page0zip.c +++ b/storage/xtradb/page/page0zip.c @@ -47,6 +47,7 @@ Created June 2005 by Marko Makela # define lock_move_reorganize_page(block, temp_block) ((void) 0) # define buf_LRU_stat_inc_unzip() ((void) 0) #endif /* !UNIV_HOTBACKUP */ +#include "srv0srv.h" #ifndef UNIV_HOTBACKUP /** Statistics on compression, indexed by page_zip_des_t::ssize - 1 */