Commit cf735347 authored by unknown's avatar unknown

Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  poseidon.ndb.mysql.com:/home/tomas/mysql51

parents 10a0b7b9 ae737a1f
...@@ -27,8 +27,6 @@ typedef NdbDictionary::Event NDBEVENT; ...@@ -27,8 +27,6 @@ typedef NdbDictionary::Event NDBEVENT;
extern ulong ndb_extra_logging; extern ulong ndb_extra_logging;
#ifdef HAVE_NDB_BINLOG
#define INJECTOR_EVENT_LEN 200 #define INJECTOR_EVENT_LEN 200
enum SCHEMA_OP_TYPE enum SCHEMA_OP_TYPE
...@@ -45,13 +43,14 @@ enum SCHEMA_OP_TYPE ...@@ -45,13 +43,14 @@ enum SCHEMA_OP_TYPE
const uint max_ndb_nodes= 64; /* multiple of 32 */ 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_t ndb_binlog_thread;
extern pthread_mutex_t injector_mutex; extern pthread_mutex_t injector_mutex;
extern pthread_cond_t injector_cond; 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 unsigned char g_node_id_map[max_ndb_nodes];
extern handlerton ndbcluster_hton; extern handlerton ndbcluster_hton;
extern pthread_t ndb_util_thread; extern pthread_t ndb_util_thread;
...@@ -114,6 +113,8 @@ ndbcluster_show_status_binlog(THD* thd, stat_print_fn *stat_print, ...@@ -114,6 +113,8 @@ ndbcluster_show_status_binlog(THD* thd, stat_print_fn *stat_print,
the ndb binlog code the ndb binlog code
*/ */
int ndbcluster_find_all_files(THD *thd); int ndbcluster_find_all_files(THD *thd);
#endif /* HAVE_NDB_BINLOG */
void ndb_unpack_record(TABLE *table, NdbValue *value, void ndb_unpack_record(TABLE *table, NdbValue *value,
MY_BITMAP *defined, byte *buf); MY_BITMAP *defined, byte *buf);
...@@ -157,6 +158,3 @@ void ...@@ -157,6 +158,3 @@ void
set_thd_ndb(THD *thd, Thd_ndb *thd_ndb) { thd->ha_data[ndbcluster_hton.slot]= thd_ndb; } set_thd_ndb(THD *thd, Thd_ndb *thd_ndb) { thd->ha_data[ndbcluster_hton.slot]= thd_ndb; }
Ndb* check_ndb_in_thd(THD* thd); Ndb* check_ndb_in_thd(THD* thd);
#endif /* HAVE_NDB_BINLOG */
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