Commit c3b36588 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5801 set these to zero, the API may require it, which is strange.


git-svn-id: file:///svn/toku/tokudb@51651 c7de825b-a66e-492c-adef-691d508d4ae1
parent 63ec225a
......@@ -1710,6 +1710,8 @@ static void fill_single_table(DB_ENV *env, DB *db, struct cli_args *args, bool f
DB_LOADER *loader = nullptr;
struct random_data random_data;
char random_buf[8];
memset(&random_data, 0, sizeof(random_data));
memset(random_buf, 0, 8);
r = myinitstate_r(random(), random_buf, 8, &random_data); CKERR(r);
uint8_t keybuf[args->key_size], valbuf[args->val_size];
......
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