From 66a64adb3e97cb13bdbedb24168e231840f14c55 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Thu, 26 Jan 2012 16:06:08 +0100 Subject: [PATCH] Xtradb recently started to access thd members directly ,e.g thd->stmt_da (ha_innodb.cc) It needs recompilation for embedded server, as layout of THD is different in embedded. --- storage/xtradb/CMakeLists.txt | 2 +- storage/xtradb/handler/handler0alter.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/storage/xtradb/CMakeLists.txt b/storage/xtradb/CMakeLists.txt index 044a259c65d..1d2b0b29dea 100644 --- a/storage/xtradb/CMakeLists.txt +++ b/storage/xtradb/CMakeLists.txt @@ -266,4 +266,4 @@ IF(WITH_INNODB) ENDIF() MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE DEFAULT - LINK_LIBRARIES ${ZLIB_LIBRARY}) + LINK_LIBRARIES ${ZLIB_LIBRARY} RECOMPILE_FOR_EMBEDDED) diff --git a/storage/xtradb/handler/handler0alter.cc b/storage/xtradb/handler/handler0alter.cc index 9d6ccaf99a2..2fd05901393 100644 --- a/storage/xtradb/handler/handler0alter.cc +++ b/storage/xtradb/handler/handler0alter.cc @@ -23,6 +23,7 @@ Smart ALTER TABLE #include #include +#include #include // SQLCOM_CREATE_INDEX #include