introduced my_init() in backwards compatible Ndb constructor

This commit is contained in:
tomas@poseidon.(none) 2004-09-03 11:24:14 +00:00
parent 6ae278a6bb
commit bb044466a8

View file

@ -16,6 +16,7 @@
#include <ndb_global.h>
#include <my_sys.h>
#include "NdbApiSignal.hpp"
#include "NdbImpl.hpp"
@ -61,6 +62,7 @@ Ndb::Ndb( const char* aDataBase , const char* aSchema) {
if (global_ndb_cluster_connection == 0) {
if (theNoOfNdbObjects > 0)
abort(); // old and new Ndb constructor used mixed
my_init();
global_ndb_cluster_connection= new Ndb_cluster_connection(ndbConnectString);
global_ndb_cluster_connection->connect();
}