diff options
author | unknown <pekka@orca.ndb.mysql.com> | 2006-11-02 14:53:28 +0100 |
---|---|---|
committer | unknown <pekka@orca.ndb.mysql.com> | 2006-11-02 14:53:28 +0100 |
commit | 1b3bcced4eb6687ab65c5e4fe20726cb809c4abb (patch) | |
tree | 49e03d41818616e380e93a742f391de3f83c9729 /ndb | |
parent | 3364aa1917c550611a3cb84dfedc48fbc4c6572e (diff) | |
download | mariadb-git-1b3bcced4eb6687ab65c5e4fe20726cb809c4abb.tar.gz |
ndb - fix test case: testDict -n Restart_NR* T1 I3
ndb/test/ndbapi/testDict.cpp:
fix testDict -n Restart_NR* T1 I3
ndb/test/run-test/daily-basic-tests.txt:
fix testDict -n Restart_NR* T1 I3
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/test/ndbapi/testDict.cpp | 2 | ||||
-rw-r--r-- | ndb/test/run-test/daily-basic-tests.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ndb/test/ndbapi/testDict.cpp b/ndb/test/ndbapi/testDict.cpp index ba05bbad7bb..a8e28742757 100644 --- a/ndb/test/ndbapi/testDict.cpp +++ b/ndb/test/ndbapi/testDict.cpp @@ -1893,7 +1893,7 @@ runDictOps(NDBT_Context* ctx, NDBT_Step* step) // create indexes const char** indlist = NDBT_Tables::getIndexes(tabName); uint indnum = 0; - while (*indlist != 0) { + while (indlist != 0 && *indlist != 0) { uint count = 0; try_create_index: count++; diff --git a/ndb/test/run-test/daily-basic-tests.txt b/ndb/test/run-test/daily-basic-tests.txt index a544355abd6..8ee9d6f7310 100644 --- a/ndb/test/run-test/daily-basic-tests.txt +++ b/ndb/test/run-test/daily-basic-tests.txt @@ -510,7 +510,7 @@ args: -n TemporaryTables T1 T6 T7 T8 max-time: 1500 cmd: testDict -args: -n Restart_NR2 T1 +args: -n Restart_NR2 T1 I3 # # TEST NDBAPI |