Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Additional tests for ticket #1821. (CVS 3189) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b93e3fb02aeff7fe6cae56c3a45c43ff |
User & Date: | drh 2006-05-23 23:25:10.000 |
Context
2006-05-24
| ||
12:43 | When opening a new connection on a shared cache, be careful not to overwrite the encoding flag on the shared cache. Ticket #1824. (CVS 3190) (check-in: c8e5ceedee user: drh tags: trunk) | |
2006-05-23
| ||
23:25 | Additional tests for ticket #1821. (CVS 3189) (check-in: b93e3fb02a user: drh tags: trunk) | |
23:22 | Fix type coercion rules for the IN operator. Ticket #1821. (CVS 3188) (check-in: 6e5a497621 user: drh tags: trunk) | |
Changes
Changes to test/in.test.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # 2001 September 15 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing the IN and BETWEEN operator. # | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # 2001 September 15 # # The author disclaims copyright to this source code. In place of # a legal notice, here is a blessing: # # May you do good and not evil. # May you find forgiveness for yourself and forgive others. # May you share freely, never taking more than you give. # #*********************************************************************** # This file implements regression tests for SQLite library. The # focus of this file is testing the IN and BETWEEN operator. # # $Id: in.test,v 1.17 2006/05/23 23:25:10 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl # Generate the test data we will need for the first squences of tests. # do_test in-1.0 { |
︙ | ︙ | |||
341 342 343 344 345 346 347 348 349 350 | } } {1 2} do_test in-11.3 { # No coercion should occur here because of the unary + before b. execsql { SELECT * FROM t6 WHERE +b IN ('2'); } } {} finish_test | > > > > > > > > > > > > > > > > > | 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 | } } {1 2} do_test in-11.3 { # No coercion should occur here because of the unary + before b. execsql { SELECT * FROM t6 WHERE +b IN ('2'); } } {} do_test in-11.4 { # No coercion because column a as affinity NONE execsql { SELECT * FROM t6 WHERE a IN ('2'); } } {} do_test in-11.5 { execsql { SELECT * FROM t6 WHERE a IN (2); } } {2 3} do_test in-11.6 { # No coercion because column a as affinity NONE execsql { SELECT * FROM t6 WHERE +a IN ('2'); } } {} finish_test |