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 @@ end:
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