mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge neptunus.(none):/home/msvensson/mysql/bug13228/my50-bug13228_minimal
into neptunus.(none):/home/msvensson/mysql/bug13228/my51-bug13228 sql/ha_ndbcluster.cc: Auto merged
This commit is contained in:
commit
d24221869a
3 changed files with 132 additions and 0 deletions
|
|
@ -558,6 +558,13 @@ int ha_ndbcluster::ndb_err(NdbTransaction *trans)
|
|||
case NdbError::SchemaError:
|
||||
invalidate_dictionary_cache(TRUE);
|
||||
|
||||
/* Close other open handlers not used by any thread */
|
||||
TABLE_LIST table_list;
|
||||
bzero((char*) &table_list,sizeof(table_list));
|
||||
table_list.db= m_dbname;
|
||||
table_list.alias= table_list.table_name= m_tabname;
|
||||
close_cached_tables(current_thd, 0, &table_list);
|
||||
|
||||
if (err.code==284)
|
||||
{
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue