[Commits] Rev 3241: Xtradb recently started to access thd members directly , e.g thd->stmt_da (ha_innodb.cc) in file:///H:/bzr/5.5/

Vladislav Vaintroub wlad at montyprogram.com
Thu Jan 26 17:06:36 EET 2012


At file:///H:/bzr/5.5/

------------------------------------------------------------
revno: 3241
revision-id: wlad at montyprogram.com-20120126150608-7acqqi976ebtlurs
parent: knielsen at knielsen-hq.org-20120126115512-rwzyxwgyummhkx3g
committer: Vladislav Vaintroub <wlad at montyprogram.com>
branch nick: 5.5
timestamp: Thu 2012-01-26 16:06:08 +0100
message:
  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.
-------------- next part --------------
=== modified file 'storage/xtradb/CMakeLists.txt'
--- a/storage/xtradb/CMakeLists.txt	2011-11-25 19:50:14 +0000
+++ b/storage/xtradb/CMakeLists.txt	2012-01-26 15:06:08 +0000
@@ -266,4 +266,4 @@
 ENDIF()
 
 MYSQL_ADD_PLUGIN(xtradb ${INNOBASE_SOURCES} STORAGE_ENGINE DEFAULT
-  LINK_LIBRARIES ${ZLIB_LIBRARY})
+  LINK_LIBRARIES ${ZLIB_LIBRARY} RECOMPILE_FOR_EMBEDDED)

=== modified file 'storage/xtradb/handler/handler0alter.cc'
--- a/storage/xtradb/handler/handler0alter.cc	2012-01-13 14:50:02 +0000
+++ b/storage/xtradb/handler/handler0alter.cc	2012-01-26 15:06:08 +0000
@@ -23,6 +23,7 @@
 
 #include <unireg.h>
 #include <mysqld_error.h>
+#include <sql_class.h>
 #include <sql_lex.h>                            // SQLCOM_CREATE_INDEX
 #include <mysql/innodb_priv.h>
 



More information about the commits mailing list