Commit b8a4f4d5 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Check the dsize also. Refs #2717. [t:2717]

git-svn-id: file:///svn/toku/tokudb@21039 c7de825b-a66e-492c-adef-691d508d4ae1
parent 2c4a0c91
......@@ -331,6 +331,7 @@ static void test_loader(DB **dbs)
stats.bt_nkeys, stats.bt_ndata, stats.bt_dsize, stats.bt_fsize);
assert(stats.bt_nkeys == (u_int64_t)NUM_ROWS);
assert(stats.bt_ndata == (u_int64_t)NUM_ROWS);
assert(stats.bt_dsize == ((u_int64_t)NUM_ROWS) * 2 * sizeof(unsigned int));
r = txn->commit(txn, 0);
CKERR(r);
}
......
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