Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1

into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
This commit is contained in:
tomas@poseidon.ndb.mysql.com 2006-07-06 15:20:22 +02:00
commit 9944e41f6e

View file

@ -325,6 +325,8 @@ GlobalDictCache::invalidate_all()
if (vers->size())
{
TableVersion * ver = & vers->back();
if (ver->m_status != RETREIVING)
{
ver->m_impl->m_status = NdbDictionary::Object::Invalid;
ver->m_status = DROPPED;
if (ver->m_refCount == 0)
@ -333,6 +335,7 @@ GlobalDictCache::invalidate_all()
vers->erase(vers->size() - 1);
}
}
}
curr = m_tableHash.getNext(curr);
}
DBUG_VOID_RETURN;