Bug#21855 Compilation error in ha_innodb.cc

 - Add ifdefs in ha_innodb.cc so it's only compiled if we have selected to build mysqld with innodb.
   This is inline with how it's done in other handlers.
parent 1ac47c95
...@@ -32,6 +32,8 @@ have disables the InnoDB inlining in this file. */ ...@@ -32,6 +32,8 @@ have disables the InnoDB inlining in this file. */
#endif #endif
#include "mysql_priv.h" #include "mysql_priv.h"
#ifdef WITH_INNOBASE_STORAGE_ENGINE
#include "slave.h" #include "slave.h"
#include <m_ctype.h> #include <m_ctype.h>
...@@ -7622,3 +7624,4 @@ mysql_declare_plugin(innobase) ...@@ -7622,3 +7624,4 @@ mysql_declare_plugin(innobase)
} }
mysql_declare_plugin_end; mysql_declare_plugin_end;
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment