Browse Source

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
pull/374/head
unknown 19 years ago
parent
commit
0f3c3e2edc
  1. 2
      sql/ha_ndbcluster.cc
  2. 3
      sql/ha_ndbcluster_binlog.h

2
sql/ha_ndbcluster.cc

@ -87,7 +87,7 @@ static int ndbcluster_fill_files_table(handlerton *hton,
TABLE_LIST *tables,
COND *cond);
static handlerton *ndbcluster_hton;
handlerton *ndbcluster_hton;
static handler *ndbcluster_create_handler(handlerton *hton,
TABLE_SHARE *table,

3
sql/ha_ndbcluster_binlog.h

@ -31,6 +31,8 @@ extern ulong ndb_extra_logging;
#define NDB_INVALID_SCHEMA_OBJECT 241
extern handlerton *ndbcluster_hton;
/*
The numbers below must not change as they
are passed between mysql servers, and if changed
@ -103,7 +105,6 @@ extern pthread_mutex_t injector_mutex;
extern pthread_cond_t injector_cond;
extern unsigned char g_node_id_map[max_ndb_nodes];
extern handlerton *ndbcluster_hton;
extern pthread_t ndb_util_thread;
extern pthread_mutex_t LOCK_ndb_util_thread;
extern pthread_cond_t COND_ndb_util_thread;

Loading…
Cancel
Save