Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add a test to whereI.test that uses a multi-column PK. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
aa183e60929bdbbcea3c436dd8cc674f |
User & Date: | dan 2014-05-27 11:42:23.800 |
Context
2014-05-27
| ||
11:54 | Fix a harmless compiler warning in the FTS4 logic. (check-in: 64a869ad23 user: drh tags: trunk) | |
11:42 | Add a test to whereI.test that uses a multi-column PK. (check-in: aa183e6092 user: dan tags: trunk) | |
10:57 | Fix for (unsupported) SQLITE_USE_FCNTL_TRACE code. (check-in: 994b2b7a59 user: drh tags: trunk) | |
Changes
Changes to test/whereI.test.
︙ | ︙ | |||
65 66 67 68 69 70 71 | SELECT a FROM t2 WHERE b='b' OR c='x' } {ii iii} do_execsql_test 2.3 { SELECT a FROM t2 WHERE b='a' OR c='z' } {i} | > > > > > | > > > > > > > > > > > > > | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | SELECT a FROM t2 WHERE b='b' OR c='x' } {ii iii} do_execsql_test 2.3 { SELECT a FROM t2 WHERE b='a' OR c='z' } {i} #---------------------------------------------------------------------- # On a table with a multi-column PK. # do_execsql_test 3.0 { CREATE TABLE t3(a, b, c, d, PRIMARY KEY(c, b)) WITHOUT ROWID; INSERT INTO t3 VALUES('f', 1, 1, 'o'); INSERT INTO t3 VALUES('o', 2, 1, 't'); INSERT INTO t3 VALUES('t', 1, 2, 't'); INSERT INTO t3 VALUES('t', 2, 2, 'f'); CREATE INDEX t3i1 ON t3(d); CREATE INDEX t3i2 ON t3(a); SELECT c||'.'||b FROM t3 WHERE a='t' OR d='t' } { 2.1 2.2 1.2 } finish_test |