Loading sql/ha_ndbcluster.cc +17 −0 Original line number Diff line number Diff line Loading @@ -6404,6 +6404,23 @@ int ndbcluster_find_files(handlerton *hton, THD *thd, hash_free(&ok_tables); hash_free(&ndb_tables); // Delete schema file from files if (!strcmp(db, NDB_REP_DB)) { uint count = 0; while (count++ < files->elements) { file_name = (char *)files->pop(); if (!strcmp(file_name, NDB_SCHEMA_TABLE)) { DBUG_PRINT("info", ("skip %s.%s table, it should be hidden to user", NDB_REP_DB, NDB_SCHEMA_TABLE)); continue; } files->push_back(file_name); } } } // extra bracket to avoid gcc 2.95.3 warning DBUG_RETURN(0); } Loading Loading
sql/ha_ndbcluster.cc +17 −0 Original line number Diff line number Diff line Loading @@ -6404,6 +6404,23 @@ int ndbcluster_find_files(handlerton *hton, THD *thd, hash_free(&ok_tables); hash_free(&ndb_tables); // Delete schema file from files if (!strcmp(db, NDB_REP_DB)) { uint count = 0; while (count++ < files->elements) { file_name = (char *)files->pop(); if (!strcmp(file_name, NDB_SCHEMA_TABLE)) { DBUG_PRINT("info", ("skip %s.%s table, it should be hidden to user", NDB_REP_DB, NDB_SCHEMA_TABLE)); continue; } files->push_back(file_name); } } } // extra bracket to avoid gcc 2.95.3 warning DBUG_RETURN(0); } Loading