Commit 664bab06 authored by unknown's avatar unknown

bug, ndb onject on thread unitialized on handlerton call in files information schema

parent 02296b58
...@@ -9605,8 +9605,7 @@ bool ha_ndbcluster::get_no_parts(const char *name, uint *no_parts) ...@@ -9605,8 +9605,7 @@ bool ha_ndbcluster::get_no_parts(const char *name, uint *no_parts)
static int ndbcluster_fill_files_table(THD *thd, TABLE_LIST *tables, COND *cond) static int ndbcluster_fill_files_table(THD *thd, TABLE_LIST *tables, COND *cond)
{ {
TABLE* table= tables->table; TABLE* table= tables->table;
Thd_ndb *thd_ndb= get_thd_ndb(thd); Ndb *ndb= check_ndb_in_thd(thd);
Ndb *ndb= thd_ndb->ndb;
NdbDictionary::Dictionary* dict= ndb->getDictionary(); NdbDictionary::Dictionary* dict= ndb->getDictionary();
NdbDictionary::Dictionary::List dflist; NdbDictionary::Dictionary::List dflist;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment