Commit 072a1772 authored by unknown's avatar unknown

This patch makes ndbcluster_hton not static. I have a second patch for...

This  patch makes ndbcluster_hton not static. I have a second patch for ndbcluster_hton to be static, but I want to talk to Jonas first. 


sql/ha_ndbcluster.cc:
  Can't quite make  it static yet :)
sql/ha_ndbcluster_binlog.h:
  Moving bad extern replacement
parent a26cc33a
...@@ -87,7 +87,7 @@ static int ndbcluster_fill_files_table(handlerton *hton, ...@@ -87,7 +87,7 @@ static int ndbcluster_fill_files_table(handlerton *hton,
TABLE_LIST *tables, TABLE_LIST *tables,
COND *cond); COND *cond);
static handlerton *ndbcluster_hton; handlerton *ndbcluster_hton;
static handler *ndbcluster_create_handler(handlerton *hton, static handler *ndbcluster_create_handler(handlerton *hton,
TABLE_SHARE *table, TABLE_SHARE *table,
......
...@@ -31,6 +31,8 @@ extern ulong ndb_extra_logging; ...@@ -31,6 +31,8 @@ extern ulong ndb_extra_logging;
#define NDB_INVALID_SCHEMA_OBJECT 241 #define NDB_INVALID_SCHEMA_OBJECT 241
extern handlerton *ndbcluster_hton;
/* /*
The numbers below must not change as they The numbers below must not change as they
are passed between mysql servers, and if changed are passed between mysql servers, and if changed
...@@ -103,7 +105,6 @@ extern pthread_mutex_t injector_mutex; ...@@ -103,7 +105,6 @@ extern pthread_mutex_t injector_mutex;
extern pthread_cond_t injector_cond; extern pthread_cond_t injector_cond;
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 pthread_t ndb_util_thread; extern pthread_t ndb_util_thread;
extern pthread_mutex_t LOCK_ndb_util_thread; extern pthread_mutex_t LOCK_ndb_util_thread;
extern pthread_cond_t COND_ndb_util_thread; extern pthread_cond_t COND_ndb_util_thread;
......
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