From 9c0cb0e893caacfeadcdc674fec27657eeb39ee6 Mon Sep 17 00:00:00 2001 From: drh Date: Tue, 23 May 2006 23:25:09 +0000 Subject: [PATCH] Additional tests for ticket #1821. (CVS 3189) FossilOrigin-Name: b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b --- manifest | 12 ++++++------ manifest.uuid | 2 +- test/in.test | 19 ++++++++++++++++++- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/manifest b/manifest index 53cbb551b6..eff06611d2 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\stype\scoercion\srules\sfor\sthe\sIN\soperator.\s\sTicket\s#1821.\s(CVS\s3188) -D 2006-05-23T23:22:29 +C Additional\stests\sfor\sticket\s#1821.\s(CVS\s3189) +D 2006-05-23T23:25:10 F Makefile.in 5d8dff443383918b700e495de42ec65bc1c8865b F Makefile.linux-gcc 74ba0eadf88748a9ce3fd03d2a3ede2e6715baec F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028 @@ -167,7 +167,7 @@ F test/fkey1.test 153004438d51e6769fb1ce165f6313972d6263ce F test/format4.test 9f31d41d4f926cab97b2ebe6be00a6ab12dece87 F test/func.test 27d02fd00b7c2a6b5c8c302d02f9f20876ce5cc8 F test/hook.test 7e7645fd9a033f79cce8fdff151e32715e7ec50a -F test/in.test ff339115cf02b302f05fb6495e74a1c544d85121 +F test/in.test 369cb2aa1eab02296b4ec470732fe8c131260b1d F test/index.test e65df12bed94b2903ee89987115e1578687e9266 F test/index2.test ee83c6b5e3173a3d7137140d945d9a5d4fdfb9d6 F test/index3.test f66718cd92ce1216819d47e6a156755e4b2c4ca1 @@ -355,7 +355,7 @@ F www/tclsqlite.tcl bb0d1357328a42b1993d78573e587c6dcbc964b9 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl 97e2b5cd296f7d8057e11f44427dea8a4c2db513 -P 9d7297b9ef6ca2f35116e37f993bb029cf03d4f0 -R f27fe774c169114ee2aa60038b33ea52 +P 6e5a49762166a942e1b2c3beae8a30c07187eb10 +R 877479d6ed6f9aea415d473667144301 U drh -Z 8380180038ff17613da9bacbf7554e8c +Z 8e45d4e74c04ae5de7b6a03b72d1d07f diff --git a/manifest.uuid b/manifest.uuid index af53cab72e..1e7a6a89a8 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -6e5a49762166a942e1b2c3beae8a30c07187eb10 \ No newline at end of file +b93e3fb02aeff7fe6cae56c3a45c43ffdb2f030b \ No newline at end of file diff --git a/test/in.test b/test/in.test index fd311896f2..84147fded0 100644 --- a/test/in.test +++ b/test/in.test @@ -11,7 +11,7 @@ # 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.16 2006/05/23 23:22:29 drh Exp $ +# $Id: in.test,v 1.17 2006/05/23 23:25:10 drh Exp $ set testdir [file dirname $argv0] source $testdir/tester.tcl @@ -346,5 +346,22 @@ do_test in-11.3 { 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 -- 2.47.2