1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

ndb - test_event

Fix problem when creating shadow table
This commit is contained in:
tomas@poseidon.ndb.mysql.com[tomas]
2005-11-05 22:54:25 +01:00
parent fc90ffc038
commit c69b482102

View File

@ -332,6 +332,9 @@ int runCreateShadowTable(NDBT_Context* ctx, NDBT_Step* step)
NdbDictionary::Table table_shadow(*table);
table_shadow.setName(buf);
// TODO should be removed
// This should work wo/ next line
table_shadow.setNodeGroupIds(0, 0);
GETNDB(step)->getDictionary()->createTable(table_shadow);
if (GETNDB(step)->getDictionary()->getTable(buf))
return NDBT_OK;