From c69b4821027658c6bdf1f11dfd38e10f08070202 Mon Sep 17 00:00:00 2001 From: "tomas@poseidon.ndb.mysql.com[tomas]" <> Date: Sat, 5 Nov 2005 22:54:25 +0100 Subject: [PATCH] ndb - test_event Fix problem when creating shadow table --- storage/ndb/test/ndbapi/test_event.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/storage/ndb/test/ndbapi/test_event.cpp b/storage/ndb/test/ndbapi/test_event.cpp index 52e0db9fe9c..2a13621a0a2 100644 --- a/storage/ndb/test/ndbapi/test_event.cpp +++ b/storage/ndb/test/ndbapi/test_event.cpp @@ -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;