mirror of
https://github.com/MariaDB/server.git
synced 2025-11-24 06:01:25 +03:00
ndb - removed deprecated Ndb constructor
ndb/include/ndbapi/Ndb.hpp: removed deprecated methods ndb/src/ndbapi/NdbPool.cpp: removed deprecated methods ndb/src/ndbapi/NdbPoolImpl.cpp: removed deprecated methods ndb/src/ndbapi/NdbPoolImpl.hpp: removed deprecated methods ndb/src/ndbapi/Ndbinit.cpp: removed deprecated methods ndb/tools/delete_all.cpp: removed deprecated methods ndb/tools/desc.cpp: removed deprecated methods ndb/tools/drop_index.cpp: removed deprecated methods ndb/tools/drop_tab.cpp: removed deprecated methods ndb/tools/restore/consumer_restore.cpp: removed deprecated methods ndb/tools/restore/consumer_restore.hpp: removed deprecated methods ndb/tools/restore/restore_main.cpp: removed deprecated methods ndb/tools/select_all.cpp: removed deprecated methods ndb/tools/select_count.cpp: removed deprecated methods
This commit is contained in:
@@ -92,7 +92,8 @@ class NdbPool {
|
||||
Uint16 prev_db_object;
|
||||
};
|
||||
public:
|
||||
static NdbPool* create_instance(Uint32 max_ndb_objects = 240,
|
||||
static NdbPool* create_instance(Ndb_cluster_connection*,
|
||||
Uint32 max_ndb_objects = 240,
|
||||
Uint32 no_conn_obj = 4,
|
||||
Uint32 init_no_ndb_objects = 8);
|
||||
static void drop_instance();
|
||||
@@ -104,7 +105,8 @@ class NdbPool {
|
||||
bool init(Uint32 initial_no_of_ndb_objects = 8);
|
||||
void release_all();
|
||||
static bool initPoolMutex();
|
||||
NdbPool(Uint32 max_no_of_ndb_objects, Uint32 no_conn_objects);
|
||||
NdbPool(Ndb_cluster_connection*,
|
||||
Uint32 max_no_of_ndb_objects, Uint32 no_conn_objects);
|
||||
~NdbPool();
|
||||
/*
|
||||
We have three lists:
|
||||
@@ -158,5 +160,7 @@ class NdbPool {
|
||||
Uint16 m_input_queue;
|
||||
Uint16 m_output_queue;
|
||||
Uint16 m_signal_count;
|
||||
|
||||
Ndb_cluster_connection * m_cluster_connection;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user