Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add test case to verify the previous change is correct. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
2a5eed35b410fb6bd69242841c007009 |
User & Date: | dan 2010-09-02 14:35:36.000 |
Context
2010-09-02
| ||
17:15 | Use sqlite3_mutex_notheld() instead of !sqlite3_mutex_held() inside of assert() statements since the former works when mutexing is disabled while the latter does not. (check-in: 2211486b69 user: drh tags: trunk) | |
14:35 | Add test case to verify the previous change is correct. (check-in: 2a5eed35b4 user: dan tags: trunk) | |
14:00 | Fix the computation of the offset on the mmap() for the Nth shared memory region. Because of the way shared memory is accessed, the old computation, though wrong, still happened to always get the right answer. Nevertheless, it is good to do the computation correctly. (check-in: 36397f62f2 user: drh tags: trunk) | |
Changes
Changes to test/wal3.test.
︙ | |||
740 741 742 743 744 745 746 | 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 | + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + | do_test wal3-9.4 { db49 close execsql { PRAGMA wal_checkpoint } set sz2 [file size test.db] byte_is_zero test.db [expr $sz-1024] } {0} do_multiclient_test tn { do_test wal3-10.$tn.1 { sql1 { PRAGMA page_size = 1024; CREATE TABLE t1(x); PRAGMA journal_mode = WAL; PRAGMA wal_autocheckpoint = 100000; BEGIN; INSERT INTO t1 VALUES(randomblob(800)); INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 2 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 4 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 8 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 16 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 32 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 64 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 128 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 256 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 512 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 1024 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 2048 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 4096 INSERT INTO t1 SELECT randomblob(800) FROM t1; -- 8192 COMMIT; CREATE INDEX i1 ON t1(x); } |