diff options
author | unknown <tomas@poseidon.ndb.mysql.com> | 2006-01-20 12:55:07 +0100 |
---|---|---|
committer | unknown <tomas@poseidon.ndb.mysql.com> | 2006-01-20 12:55:07 +0100 |
commit | ae737a1f7fe156319e3d1ef34d98545cc8d05eea (patch) | |
tree | 99824e037a8aadaa539cae34cee4f6e663342c7e /sql/ha_ndbcluster_binlog.h | |
parent | 4234038b6372f5dafe106da9f36f756fa261c50b (diff) | |
download | mariadb-git-ae737a1f7fe156319e3d1ef34d98545cc8d05eea.tar.gz |
fix so that ndb builds --without-ndb-binlog
Diffstat (limited to 'sql/ha_ndbcluster_binlog.h')
-rw-r--r-- | sql/ha_ndbcluster_binlog.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sql/ha_ndbcluster_binlog.h b/sql/ha_ndbcluster_binlog.h index 5334120b43f..e8582ab659a 100644 --- a/sql/ha_ndbcluster_binlog.h +++ b/sql/ha_ndbcluster_binlog.h @@ -27,8 +27,6 @@ typedef NdbDictionary::Event NDBEVENT; extern ulong ndb_extra_logging; -#ifdef HAVE_NDB_BINLOG - #define INJECTOR_EVENT_LEN 200 enum SCHEMA_OP_TYPE @@ -45,13 +43,14 @@ enum SCHEMA_OP_TYPE const uint max_ndb_nodes= 64; /* multiple of 32 */ +static const char *ha_ndb_ext=".ndb"; +static const char share_prefix[]= "./"; + +#ifdef HAVE_NDB_BINLOG extern pthread_t ndb_binlog_thread; extern pthread_mutex_t injector_mutex; extern pthread_cond_t injector_cond; -static const char *ha_ndb_ext=".ndb"; -static const char share_prefix[]= "./"; - extern unsigned char g_node_id_map[max_ndb_nodes]; extern handlerton ndbcluster_hton; extern pthread_t ndb_util_thread; @@ -114,6 +113,8 @@ ndbcluster_show_status_binlog(THD* thd, stat_print_fn *stat_print, the ndb binlog code */ int ndbcluster_find_all_files(THD *thd); +#endif /* HAVE_NDB_BINLOG */ + void ndb_unpack_record(TABLE *table, NdbValue *value, MY_BITMAP *defined, byte *buf); @@ -157,6 +158,3 @@ void set_thd_ndb(THD *thd, Thd_ndb *thd_ndb) { thd->ha_data[ndbcluster_hton.slot]= thd_ndb; } Ndb* check_ndb_in_thd(THD* thd); - - -#endif /* HAVE_NDB_BINLOG */ |