ndb - test_event

    Fix problem when creating shadow table
parent fc90ffc0
...@@ -332,6 +332,9 @@ int runCreateShadowTable(NDBT_Context* ctx, NDBT_Step* step) ...@@ -332,6 +332,9 @@ int runCreateShadowTable(NDBT_Context* ctx, NDBT_Step* step)
NdbDictionary::Table table_shadow(*table); NdbDictionary::Table table_shadow(*table);
table_shadow.setName(buf); 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); GETNDB(step)->getDictionary()->createTable(table_shadow);
if (GETNDB(step)->getDictionary()->getTable(buf)) if (GETNDB(step)->getDictionary()->getTable(buf))
return NDBT_OK; return NDBT_OK;
......
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