Loading ndb/include/ndbapi/NdbDictionary.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -1023,7 +1023,7 @@ public: * @param name Name of table to get * @return table if successful otherwise NULL. */ const Table * getTable(const char * name); const Table * getTable(const char * name) const; /** * Get index with given name, NULL if undefined Loading @@ -1032,7 +1032,7 @@ public: * @return index if successful, otherwise 0. */ const Index * getIndex(const char * indexName, const char * tableName); const char * tableName) const; /** * Fetch list of indexes of given table. Loading Loading @@ -1173,10 +1173,10 @@ public: class NdbDictionaryImpl & m_impl; Dictionary(NdbDictionaryImpl&); const Table * getIndexTable(const char * indexName, const char * tableName); const char * tableName) const; public: #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL const Table * getTable(const char * name, void **data); const Table * getTable(const char * name, void **data) const; void set_local_table_data_size(unsigned sz); #endif }; Loading ndb/src/ndbapi/NdbDictionary.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -706,7 +706,8 @@ NdbDictionary::Dictionary::alterTable(const Table & t){ } const NdbDictionary::Table * NdbDictionary::Dictionary::getTable(const char * name, void **data){ NdbDictionary::Dictionary::getTable(const char * name, void **data) const { NdbTableImpl * t = m_impl.getTable(name, data); if(t) return t->m_facade; Loading @@ -719,7 +720,8 @@ void NdbDictionary::Dictionary::set_local_table_data_size(unsigned sz) } const NdbDictionary::Table * NdbDictionary::Dictionary::getTable(const char * name){ NdbDictionary::Dictionary::getTable(const char * name) const { return getTable(name, 0); } Loading Loading @@ -752,7 +754,7 @@ NdbDictionary::Dictionary::dropIndex(const char * indexName, const NdbDictionary::Index * NdbDictionary::Dictionary::getIndex(const char * indexName, const char * tableName) const char * tableName) const { NdbIndexImpl * i = m_impl.getIndex(indexName, tableName); if(i) Loading Loading @@ -782,7 +784,7 @@ NdbDictionary::Dictionary::removeCachedIndex(const char * indexName, const NdbDictionary::Table * NdbDictionary::Dictionary::getIndexTable(const char * indexName, const char * tableName) const char * tableName) const { NdbIndexImpl * i = m_impl.getIndex(indexName, tableName); NdbTableImpl * t = m_impl.getTable(tableName); Loading Loading
ndb/include/ndbapi/NdbDictionary.hpp +4 −4 Original line number Diff line number Diff line Loading @@ -1023,7 +1023,7 @@ public: * @param name Name of table to get * @return table if successful otherwise NULL. */ const Table * getTable(const char * name); const Table * getTable(const char * name) const; /** * Get index with given name, NULL if undefined Loading @@ -1032,7 +1032,7 @@ public: * @return index if successful, otherwise 0. */ const Index * getIndex(const char * indexName, const char * tableName); const char * tableName) const; /** * Fetch list of indexes of given table. Loading Loading @@ -1173,10 +1173,10 @@ public: class NdbDictionaryImpl & m_impl; Dictionary(NdbDictionaryImpl&); const Table * getIndexTable(const char * indexName, const char * tableName); const char * tableName) const; public: #ifndef DOXYGEN_SHOULD_SKIP_INTERNAL const Table * getTable(const char * name, void **data); const Table * getTable(const char * name, void **data) const; void set_local_table_data_size(unsigned sz); #endif }; Loading
ndb/src/ndbapi/NdbDictionary.cpp +6 −4 Original line number Diff line number Diff line Loading @@ -706,7 +706,8 @@ NdbDictionary::Dictionary::alterTable(const Table & t){ } const NdbDictionary::Table * NdbDictionary::Dictionary::getTable(const char * name, void **data){ NdbDictionary::Dictionary::getTable(const char * name, void **data) const { NdbTableImpl * t = m_impl.getTable(name, data); if(t) return t->m_facade; Loading @@ -719,7 +720,8 @@ void NdbDictionary::Dictionary::set_local_table_data_size(unsigned sz) } const NdbDictionary::Table * NdbDictionary::Dictionary::getTable(const char * name){ NdbDictionary::Dictionary::getTable(const char * name) const { return getTable(name, 0); } Loading Loading @@ -752,7 +754,7 @@ NdbDictionary::Dictionary::dropIndex(const char * indexName, const NdbDictionary::Index * NdbDictionary::Dictionary::getIndex(const char * indexName, const char * tableName) const char * tableName) const { NdbIndexImpl * i = m_impl.getIndex(indexName, tableName); if(i) Loading Loading @@ -782,7 +784,7 @@ NdbDictionary::Dictionary::removeCachedIndex(const char * indexName, const NdbDictionary::Table * NdbDictionary::Dictionary::getIndexTable(const char * indexName, const char * tableName) const char * tableName) const { NdbIndexImpl * i = m_impl.getIndex(indexName, tableName); NdbTableImpl * t = m_impl.getTable(tableName); Loading