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.
This commit is contained in:
Vladislav Vaintroub 2012-01-26 16:06:08 +01:00
parent 438ed0408c
commit 66a64adb3e
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -23,6 +23,7 @@ Smart ALTER TABLE
#include <unireg.h>
#include <mysqld_error.h>
#include <sql_class.h>
#include <sql_lex.h> // SQLCOM_CREATE_INDEX
#include <mysql/innodb_priv.h>