Commit 0f653b6f authored by serg@serg.mylan's avatar serg@serg.mylan

make compilation to work w/o InnoDB as well

parent 7f51b1d3
...@@ -87,6 +87,7 @@ salle@geopard.(none) ...@@ -87,6 +87,7 @@ salle@geopard.(none)
salle@geopard.online.bg salle@geopard.online.bg
sasha@mysql.sashanet.com sasha@mysql.sashanet.com
serg@build.mysql2.com serg@build.mysql2.com
serg@serg.mylan
serg@serg.mysql.com serg@serg.mysql.com
serg@sergbook.mysql.com serg@sergbook.mysql.com
sinisa@rhols221.adsl.netsonic.fi sinisa@rhols221.adsl.netsonic.fi
......
...@@ -34,6 +34,8 @@ ...@@ -34,6 +34,8 @@
#endif #endif
#ifdef HAVE_INNOBASE_DB #ifdef HAVE_INNOBASE_DB
#include "ha_innodb.h" #include "ha_innodb.h"
#else
#define innobase_query_caching_of_table_permitted(X,Y,Z) 1
#endif #endif
#include <myisampack.h> #include <myisampack.h>
#include <errno.h> #include <errno.h>
...@@ -877,7 +879,7 @@ int handler::delete_all_rows() ...@@ -877,7 +879,7 @@ int handler::delete_all_rows()
return (my_errno=HA_ERR_WRONG_COMMAND); return (my_errno=HA_ERR_WRONG_COMMAND);
} }
bool handler::caching_allowed(THD* thd, char* table_key, bool handler::caching_allowed(THD* thd, char* table_key,
uint key_length, uint8 cache_type) uint key_length, uint8 cache_type)
{ {
if (cache_type == HA_CACHE_TBL_ASKTRANSACT) if (cache_type == HA_CACHE_TBL_ASKTRANSACT)
......
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