Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add a test case for the fix in [a596b7c6cc]. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b2ef39b11f7c46e69e53439680c32adb |
User & Date: | dan 2016-10-05 15:04:35.219 |
Context
2016-10-05
| ||
20:10 | Fix harmless compiler warnings. (check-in: 2dde337512 user: drh tags: trunk) | |
15:04 | Add a test case for the fix in [a596b7c6cc]. (check-in: b2ef39b11f user: dan tags: trunk) | |
15:02 | Do not set MEM_Blob unless the appropriate fields of the Mem object have been correctly initialized. (check-in: a596b7c6cc user: drh tags: trunk) | |
Changes
Changes to test/mallocI.test.
︙ | ︙ | |||
56 57 58 59 60 61 62 63 64 | # If this INSERT is possible then [db] does not hold a shared lock # on the database file. catchsql { INSERT INTO t1 VALUES(1, 2, 3) } db2 } {0 {}} catch {db2 close} } catch { db2 close } finish_test | > > > > > > > > > > > | 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | # If this INSERT is possible then [db] does not hold a shared lock # on the database file. catchsql { INSERT INTO t1 VALUES(1, 2, 3) } db2 } {0 {}} catch {db2 close} } catch { db2 close } do_faultsim_test mallocI-5 -faults oom* -prep { catch { db close } sqlite3 db test.db sqlite3_db_config_lookaside db 0 0 0 } -body { db eval { Select CAST(1 AS blob) } } -test { faultsim_test_result {0 1} } finish_test |