Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add a missing sqlite3_close() call to threadtest3.c. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a65a44f3ff851b71c9a79e96b9575c6a |
User & Date: | dan 2014-12-31 18:25:21.460 |
Context
2014-12-31
| ||
18:28 | Update the command-line parsing for threadtest3 so that tests are run in the order they are specified on the command-line. (check-in: f489bc3116 user: drh tags: trunk) | |
18:25 | Add a missing sqlite3_close() call to threadtest3.c. (check-in: a65a44f3ff user: dan tags: trunk) | |
18:10 | Only run walthread5 once when running all tests in threadtest3. (check-in: ca2e4a5b22 user: drh tags: trunk) | |
Changes
Changes to test/threadtest3.c.
︙ | ︙ | |||
977 978 979 980 981 982 983 984 985 986 987 988 989 990 | sql_script(&err, &db, "PRAGMA journal_mode = WAL;" "CREATE TABLE t1(x PRIMARY KEY);" "INSERT INTO t1 VALUES(randomblob(100));" "INSERT INTO t1 VALUES(randomblob(100));" "INSERT INTO t1 SELECT md5sum(x) FROM t1;" ); setstoptime(&err, nMs); for(i=0; i<WALTHREAD1_NTHREAD; i++){ launch_thread(&err, &threads, walthread1_thread, 0); } launch_thread(&err, &threads, walthread1_ckpt_thread, 0); join_all_threads(&err, &threads); | > | 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 | sql_script(&err, &db, "PRAGMA journal_mode = WAL;" "CREATE TABLE t1(x PRIMARY KEY);" "INSERT INTO t1 VALUES(randomblob(100));" "INSERT INTO t1 VALUES(randomblob(100));" "INSERT INTO t1 SELECT md5sum(x) FROM t1;" ); closedb(&err, &db); setstoptime(&err, nMs); for(i=0; i<WALTHREAD1_NTHREAD; i++){ launch_thread(&err, &threads, walthread1_thread, 0); } launch_thread(&err, &threads, walthread1_ckpt_thread, 0); join_all_threads(&err, &threads); |
︙ | ︙ |