mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 16:25:30 +02:00
fix so that ndb builds --without-ndb-binlog
This commit is contained in:
parent
4234038b63
commit
ae737a1f7f
1 changed files with 6 additions and 8 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue