mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
valgrind found an uninitialized variable
git-svn-id: file:///svn/tokudb@2845 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
4f9b5633d0
commit
a9e8183dd6
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ static void test_multiple_brt_cursor_dbts(int n, DB *db) {
|
||||||
DBT kbt,vbt;
|
DBT kbt,vbt;
|
||||||
char key[10],val[10];
|
char key[10],val[10];
|
||||||
snprintf(key, sizeof key, "k%04d", i);
|
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,
|
r = toku_brt_insert(brt,
|
||||||
toku_fill_dbt(&kbt, key, strlen(key)),
|
toku_fill_dbt(&kbt, key, strlen(key)),
|
||||||
toku_fill_dbt(&vbt, val, strlen(val)),
|
toku_fill_dbt(&vbt, val, strlen(val)),
|
||||||
|
|
Loading…
Add table
Reference in a new issue