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

parent 730a711f
......@@ -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)
{
TABLE* table= tables->table;
Thd_ndb *thd_ndb= get_thd_ndb(thd);
Ndb *ndb= thd_ndb->ndb;
Ndb *ndb= check_ndb_in_thd(thd);
NdbDictionary::Dictionary* dict= ndb->getDictionary();
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