summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/Ndbinit.cpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.(none)>2004-09-09 19:52:03 +0000
committerunknown <tomas@poseidon.(none)>2004-09-09 19:52:03 +0000
commitfb7d91e708d010649b8ee3356867c21f840fe37d (patch)
treeebf5004a0f9fd7bec98e199a7645b8e85192e1ec /ndb/src/ndbapi/Ndbinit.cpp
parentdc21dcd2a139c42ba6617fad445ae40bb28cc694 (diff)
downloadmariadb-git-fb7d91e708d010649b8ee3356867c21f840fe37d.tar.gz
added possibility to use comma-separated connectstring
compile error/warning fixes added force of heartbeat added ability to force heartbeat ndb/src/common/mgmcommon/LocalConfig.cpp: added possibility to use comma-separated connectstring ndb/src/common/mgmcommon/NdbConfig.c: compile error/warning fixes ndb/src/mgmsrv/MgmtSrvr.cpp: added force of heartbeat ndb/src/mgmsrv/main.cpp: changed help text ndb/src/ndbapi/ClusterMgr.cpp: added ability to force heartbeat ndb/src/ndbapi/Ndbinit.cpp: added comment
Diffstat (limited to 'ndb/src/ndbapi/Ndbinit.cpp')
-rw-r--r--ndb/src/ndbapi/Ndbinit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/ndbapi/Ndbinit.cpp b/ndb/src/ndbapi/Ndbinit.cpp
index 2a00bc67c21..8e3bf69c7f5 100644
--- a/ndb/src/ndbapi/Ndbinit.cpp
+++ b/ndb/src/ndbapi/Ndbinit.cpp
@@ -38,11 +38,11 @@ void NdbGlobalEventBuffer_drop(NdbGlobalEventBufferHandle *);
/**
* Static object for NDB
*/
-static int theNoOfNdbObjects = 0;
+// only needed for backwards compatability, before ndb_cluster_connection
static char *ndbConnectString = 0;
+static int theNoOfNdbObjects = 0;
static Ndb_cluster_connection *global_ndb_cluster_connection= 0;
-
#if defined NDB_WIN32 || defined SCO
static NdbMutex & createNdbMutex = * NdbMutex_Create();
#else