mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Check the dsize also. Refs #2717. [t:2717]
git-svn-id: file:///svn/toku/tokudb@21039 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
2c4a0c91cc
commit
b8a4f4d5a4
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue