Commit 664bab06 authored by unknown's avatar unknown
Browse files

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

parent 02296b58
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;