Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix the tkt-fc62af4523.test to work around non-randomness of the randomblob() function when in testing mode. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7c3a86b9c7e2a35ce755c32b38e911e7 |
User & Date: | drh 2010-06-17 16:08:54.000 |
References
2010-06-17
| ||
16:44 | Merge trunk change [7c3a86b9c7]. (check-in: bd7bc4e0e2 user: dan tags: experimental) | |
Context
2010-06-17
| ||
17:05 | Apply [b9b11855e8] (the alternate fix to [fc62af4523]) to the trunk. (check-in: 9a949a3a5c user: dan tags: trunk) | |
16:44 | Merge trunk change [7c3a86b9c7]. (check-in: bd7bc4e0e2 user: dan tags: experimental) | |
16:08 | Fix the tkt-fc62af4523.test to work around non-randomness of the randomblob() function when in testing mode. (check-in: 7c3a86b9c7 user: drh tags: trunk) | |
10:42 | Do not delete the journal file in "PRAGMA journal_mode" commands. This fixes [fc62af4523]. (check-in: 1ec74591a9 user: dan tags: trunk) | |
Changes
Changes to test/tkt-fc62af4523.test.
︙ | ︙ | |||
44 45 46 47 48 49 50 | do_test tkt-fc62af4523.2 { testfixture $::chan { sqlite3 db test.db db eval { PRAGMA cache_size = 10; BEGIN; UPDATE t1 SET b = randomblob(400); | | | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | do_test tkt-fc62af4523.2 { testfixture $::chan { sqlite3 db test.db db eval { PRAGMA cache_size = 10; BEGIN; UPDATE t1 SET b = randomblob(400); UPDATE t1 SET a = randomblob(201); } } file exists test.db-journal } {1} # Now do "PRAGMA journal_mode = DELETE" in this process. At one point # this was causing SQLite to delete the journal file from the file-system, |
︙ | ︙ | |||
78 79 80 81 82 83 84 | PRAGMA integrity_check; SELECT count(*) FROM t1; } } {ok 64} catch { close $::chan } finish_test | < | 78 79 80 81 82 83 84 | PRAGMA integrity_check; SELECT count(*) FROM t1; } } {ok 64} catch { close $::chan } finish_test |