1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Update a test case to reflect the fact that the lsm blocksize is configured in

KiB. And defaults to 1024, not 2048.

FossilOrigin-Name: d7015475f121db1f56060716cd8adb73e9b52016890ec9018b620ef9d7d4fbff
This commit is contained in:
dan
2017-06-26 07:31:28 +00:00
parent 07cae6ae74
commit e6f98bcf09
3 changed files with 12 additions and 12 deletions

View File

@ -171,9 +171,9 @@ static void do_test_api2(const char *zPattern, int *pRc){
testDeleteLsmdb("testdb.lsm");
db1 = newLsmConnection("testdb.lsm", 0, 0, pRc);
testPagesize(db1, 4096, 2*1024*1024, pRc);
testPagesize(db1, 4096, 1024, pRc);
db2 = newLsmConnection("testdb.lsm", 1024, 64*1024, pRc);
testPagesize(db2, 4096, 2*1024*1024, pRc);
testPagesize(db2, 4096, 1024, pRc);
lsm_close(db1);
lsm_close(db2);
@ -186,10 +186,10 @@ static void do_test_api2(const char *zPattern, int *pRc){
lsm_close(db2);
testDeleteLsmdb("testdb.lsm");
db1 = newLsmConnection("testdb.lsm", 8192, 1*1024*1024, pRc);
testPagesize(db1, 8192, 1*1024*1024, pRc);
db1 = newLsmConnection("testdb.lsm", 8192, 2*1024, pRc);
testPagesize(db1, 8192, 2*1024, pRc);
db2 = newLsmConnection("testdb.lsm", 1024, 64*1024, pRc);
testPagesize(db2, 8192, 1*1024*1024, pRc);
testPagesize(db2, 8192, 2*1024, pRc);
lsm_close(db1);
lsm_close(db2);