Commit d968f27f authored by Yoni Fogel's avatar Yoni Fogel

[t:2216] Fix lock tree tests (not allowed to use dictionary id 0 anymore)

git-svn-id: file:///svn/toku/tokudb@18199 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5f68cd82
......@@ -41,8 +41,8 @@ static void close_ltm(void) {
}
static void run_test(BOOL dups) {
DICTIONARY_ID dict_id1 = {0};
DICTIONARY_ID dict_id2 = {1};
DICTIONARY_ID dict_id1 = {1};
DICTIONARY_ID dict_id2 = {2};
DICTIONARY_ID dict_id3 = dict_id1;
......
......@@ -120,7 +120,7 @@ static void initial_setup(void) {
lts[i] = NULL;
char name[sizeof(TESTDIR) + 256];
sprintf(name, TESTDIR "/file%05x.db", i);
dict_ids[i].dictid = i;
dict_ids[i].dictid = i+1;
assert(dict_ids[i].dictid != DICTIONARY_ID_NONE.dictid);
lt_refs[i] = 0;
}
......
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