Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix typo of test prefix in the new WHERE test file. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
34779c528f1817d6ec34216b58fb4277 |
User & Date: | mistachkin 2015-03-16 18:08:56.916 |
Context
2015-03-16
| ||
20:40 | Make SQLite slightly more likely to use an auto-index within a sub-query. (check-in: ab832336f4 user: dan tags: trunk) | |
18:08 | Fix typo of test prefix in the new WHERE test file. (check-in: 34779c528f user: mistachkin tags: trunk) | |
17:48 | When the WHERE clause contains two OR-connected terms with identical operands but different operators, try to combine them into a single term. Example: (X=A OR X>A) becomes (X>=A). (check-in: 8bdda827a3 user: drh tags: trunk) | |
Changes
Changes to test/whereK.test.
︙ | ︙ | |||
17 18 19 20 21 22 23 | # (x>A OR (x=A AND y>=B) --> ... AND (x>=A) # set testdir [file dirname $argv0] source $testdir/tester.tcl | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # (x>A OR (x=A AND y>=B) --> ... AND (x>=A) # set testdir [file dirname $argv0] source $testdir/tester.tcl set ::testprefix whereK do_execsql_test 1.1 { CREATE TABLE t1(a,b,c); WITH RECURSIVE c(x) AS (VALUES(0) UNION ALL SELECT x+1 FROM c WHERE x<99) INSERT INTO t1(a,b,c) SELECT x, x/10, x%10 FROM c; CREATE INDEX t1bc ON t1(b,c); SELECT a FROM t1 WHERE b>9 OR b=9 ORDER BY +a; |
︙ | ︙ |