mirror of
https://github.com/MariaDB/server.git
synced 2025-11-19 19:03:26 +03:00
Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/usr/local/home/marty/MySQL/mysql-5.1-new
This commit is contained in:
@@ -1305,7 +1305,14 @@ NdbDictionaryImpl::fetchGlobalTableImpl(const BaseString& internalTableName)
|
||||
void
|
||||
NdbDictionaryImpl::putTable(NdbTableImpl *impl)
|
||||
{
|
||||
NdbTableImpl *old;
|
||||
|
||||
m_globalHash->lock();
|
||||
if ((old= m_globalHash->get(impl->m_internalName.c_str())))
|
||||
{
|
||||
old->m_status = NdbDictionary::Object::Invalid;
|
||||
m_globalHash->drop(old);
|
||||
}
|
||||
m_globalHash->put(impl->m_internalName.c_str(), impl);
|
||||
m_globalHash->unlock();
|
||||
Ndb_local_table_info *info=
|
||||
|
||||
Reference in New Issue
Block a user