summaryrefslogtreecommitdiff
path: root/test/misc01.sql
AgeCommit message (Collapse)AuthorLines
4 daysAs demonstrated by multiple bug reports, the SQLITE_DBCONFIG_FP_DIGITSdrh-39/+13
setting from [3f16985dcc47a366] is unsafe if misused, and so it is here changed into a no-op. FossilOrigin-Name: 5b588b3e0ff81920514098dd98307cf64c37cef17c30df028e344cc0b8b0a267
10 daysFix recent test cases so that they run on all configurations. Fix a verydrh-2/+2
minor memory leak in the CLI. FossilOrigin-Name: 6911bdb236d98cf3ed5b430d3c85cd7a085617f9c6f8457f2986d172baa1fe70
12 daysUpdate tests in misc01.sql to account for the stricter ".check" formatting ↵dan-4/+4
required by [1a00748caf]. FossilOrigin-Name: 255b612e42e4d9f81bdb2e81642208cd8118a8f06fa85a5fe7f04d383a97d25e
13 daysTake out ".mode test" added as part of [85e50de017d28abc] since it is reallydrh-4/+4
just an alias for ".mode quote". Update recent test cases to use "quote" instead of "test". FossilOrigin-Name: 509c3506542a77d628dbab8b6ba5f7189b4712fcd8365b0b7873b875fc7ffd2a
13 daysStill more hardening against smuggled shell command attacks.drh-0/+73
FossilOrigin-Name: 8981033053d69c0a965525389971f6e5c248706d99eb14f32b386ece59d46fc5
13 daysAdd the ".safe" command to the CLI and enhance the ".recover" command sodrh-2/+19
that the script it generates includes the ".safe" command near the top. Prior check-in [d684ccc9ec4e41d8] is sufficient to block the attack described by [bugs:/info/2026-11-06T04:16:54Z|bug 2026-11-06T04:16:54Z] and [https://app.opencve.io/cve/CVE-2026-119586|CVE-2026-119586]. This check-in simply adds an additional layer of defense. FossilOrigin-Name: f2be7c2a98f2dc65dc03e1023da44f06d50860f8ec397e3616d76b15aa2fc646
2026-11-08Rename CLI tests that require special options from *.sql to *.clitest.drh-0/+4
Adjust all remaining *.sql tests so that they can all be run together using "sqlite3 test/*.sql". FossilOrigin-Name: 5b9cef877bd8255974276723a79b0e02c6d8b3ec35def545c07843c0f3be9f56
2026-11-08Improvements to the CLI to improve testing ability.drh-24/+20
(1) Add the "test" output mode that works like "list" but uses "," as the column separator and has "-quote on". (2) Add "--any", "--not", and "--regexp" to the ".check" command. (3) Default match algorithm for ".check" treats all whitespace characters as equal to one another. FossilOrigin-Name: 85e50de017d28abc98890714528611d717c4b369e8a4a7128a5c27b07ff80878
2026-11-07Bypass recently added test cases involving GLOB comparisons ofdrh-0/+2
BLOB values when using -DSQLITE_LIKE_DOESNT_MATCH_BLOBS. FossilOrigin-Name: 0fe4cb1f3445a011bb665983fc2335521fdd1530d2f0cb6eda6971a8cc06a2e1
2026-11-07Test cases for [bugs:/info/2026-11-05T22:09:59Z|Bug 2026-11-05T22:09:59Z].drh-0/+33
FossilOrigin-Name: 05a6ebd42e4803b4ef3173c0e5f108d40e12d4d865537ea80418afcfce8419ac
2026-11-07Subtypes should pass through a CASE expression.drh-0/+32
[forum:/info/2026-11-07T10:10:46Z|Forum post 2026-11-07T10:10:46Z]. FossilOrigin-Name: bb091549d416041e01bf27eaac7306283b6748c2a603e967c6aad5ab3488982b
2026-11-07Fix an inaccuracy in the LIKE optimization for the corner case of adrh-0/+63
UTF-16be database and last character of the pattern before the wildcard being U+07ff. [bugs:/info/2026-11-04T20:30:26Z|Bug 2026-11-04T20:30:26Z] FossilOrigin-Name: de742404bc03e03e7bf25779fe2aa6496eb178623c19a1bf7568981c7d863c72
2026-11-06Fix the generate_series() table-valued function such that it works correctlydrh-0/+22
with an ORDER BY rowid DESC LIMIT ← "rowid" instead of "value". [bugs:/info/2026-11-05T22:31:13Z|Bug 2026-11-05T22:31:13Z] FossilOrigin-Name: b05d02e27ac00bb12b16dc1b2ceee3221c5eb343f41487c966b637598f9fdc1b
2026-11-06Do not perform the optimization of combining disjuncts if either sidedrh-0/+77
comes from the LIKE optimization, as doing so messes up the LIKE optimization. [bugs:/info/2026-11-06T00:25:13Z|Bug 2026-11-06T00:25:13Z] FossilOrigin-Name: f2ecc3000c414b2e08f8af91814dae9ad67468909c02060c36563660b18bd41d
2026-11-06The .recover command now omits extraneous text found at the end of thedrh-0/+36
sqlite_schema.sql field. [bugs:/info/2026-11-06T04:16:54Z|Bug 2026-11-06T04:16:54Z] FossilOrigin-Name: d684ccc9ec4e41d8c056a97d8f1757efabf79e8d72f61417d8d0dde1f370d913
2026-11-05Fix cases where a dual-representation sqlite3_value can cause problems.drh-1/+37
[bugs:/info/2026-11-05T18:08:21Z|Bug 2026-11-05T18:08:21Z]. FossilOrigin-Name: 83454d6aa85fcb4976ff9cbdf62a4572594e00190d7e1e815142b93a633f8db3
2026-11-05Fix the OP_SeekRowid opcode so that it works even in a debugging builddrh-0/+31
if the key value has both a text and a numeric representation. [bugs:/info/2026-11-05T18:09:41Z|Bug 2026-11-05T18:09:41Z] FossilOrigin-Name: 088c80f5e393eb5e9a41554b1d66b3d212ca1a4194e159a63b876fd092d6ecd5