diff options
author | unknown <tomas@poseidon.(none)> | 2004-09-14 12:47:34 +0000 |
---|---|---|
committer | unknown <tomas@poseidon.(none)> | 2004-09-14 12:47:34 +0000 |
commit | 2ed29f93716a8fa7d20c8a524aec62ea419528a3 (patch) | |
tree | 537321da689d9c852c4bf488041139efea7ed757 /ndb/src/ndbapi/DictCache.hpp | |
parent | 714667b448f5754628c59c8dc405e8f12f7232f2 (diff) | |
download | mariadb-git-2ed29f93716a8fa7d20c8a524aec62ea419528a3.tar.gz |
new method to set size of local table data
clearer configure description texts
changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor
move definition if Thd_ndb to .h file and changes seize/release to operate on Thd_ndb instead of Ndb objects
moved allocation/deletion of Ndb objects to Thd_ndb
ndb/include/ndbapi/NdbDictionary.hpp:
new method to set size of local table data
ndb/src/mgmsrv/ConfigInfo.cpp:
clearer configure description texts
ndb/src/ndbapi/DictCache.cpp:
changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor
ndb/src/ndbapi/DictCache.hpp:
changed Ndb_local_table_info to use create, destroy metods and hidden constructor/destructor
ndb/src/ndbapi/NdbDictionary.cpp:
new method to set size of local table data
ndb/src/ndbapi/NdbDictionaryImpl.cpp:
new method to set size of local table data
ndb/src/ndbapi/NdbDictionaryImpl.hpp:
new method to set size of local table data
sql/ha_ndbcluster.cc:
new method to set size of local table data
moved allocation/deletion of Ndb objects to Thd_ndb
sql/ha_ndbcluster.h:
move definition if Thd_ndb to .h file and changes seize/release to operate on Thd_ndb instead of Ndb objects
Diffstat (limited to 'ndb/src/ndbapi/DictCache.hpp')
-rw-r--r-- | ndb/src/ndbapi/DictCache.hpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ndb/src/ndbapi/DictCache.hpp b/ndb/src/ndbapi/DictCache.hpp index f94ad7a6fa9..0dc853306fa 100644 --- a/ndb/src/ndbapi/DictCache.hpp +++ b/ndb/src/ndbapi/DictCache.hpp @@ -29,12 +29,13 @@ class Ndb_local_table_info { public: - Ndb_local_table_info(NdbTableImpl *table_impl, Uint32 sz=0); - ~Ndb_local_table_info(); + static Ndb_local_table_info *create(NdbTableImpl *table_impl, Uint32 sz=0); + static void destroy(Ndb_local_table_info *); NdbTableImpl *m_table_impl; - Uint64 m_first_tuple_id; - Uint64 m_last_tuple_id; - void *m_local_data; + char m_local_data[1]; +private: + Ndb_local_table_info(NdbTableImpl *table_impl); + ~Ndb_local_table_info(); }; /** |