Commit a9e8183d authored by Rich Prohaska's avatar Rich Prohaska

valgrind found an uninitialized variable

git-svn-id: file:///svn/tokudb@2845 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4f9b5633
......@@ -45,7 +45,7 @@ static void test_multiple_brt_cursor_dbts(int n, DB *db) {
DBT kbt,vbt;
char key[10],val[10];
snprintf(key, sizeof key, "k%04d", i);
snprintf(key, sizeof val, "k%04d", i);
snprintf(val, sizeof val, "v%04d", i);
r = toku_brt_insert(brt,
toku_fill_dbt(&kbt, key, strlen(key)),
toku_fill_dbt(&vbt, val, strlen(val)),
......
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