From: drh Date: Fri, 2 May 2008 02:00:54 +0000 (+0000) Subject: Add another test case to verify that ticket #3092 has been fixed. (CVS 5076) X-Git-Tag: version-3.6.10~1101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=71c9cb74ae4b8c5421f492d0eec6aa8af7968a66;p=thirdparty%2Fsqlite.git Add another test case to verify that ticket #3092 has been fixed. (CVS 5076) FossilOrigin-Name: 1906d2dadcd70053f55e2133af9f838e2d828fa7 --- diff --git a/manifest b/manifest index 73b117ce94..27d29fdcb6 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sa\sproblem\swith\sjournal\sfiles\sbeing\screated\sunnecessarily\swhen\sdoing\nan\satomic\swrite\sin\sexclusive\saccess\slocking\smode.\s\sFix\sa\stest\sscript\sproblem.\s(CVS\s5075) -D 2008-05-01T18:01:47 +C Add\sanother\stest\scase\sto\sverify\sthat\sticket\s#3092\shas\sbeen\sfixed.\s(CVS\s5076) +D 2008-05-02T02:00:54 F Makefile.arm-wince-mingw32ce-gcc ac5f7b2cef0cd850d6f755ba6ee4ab961b1fadf7 F Makefile.in 25b3282a4ac39388632c2fb0e044ff494d490952 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654 @@ -500,7 +500,7 @@ F test/tkt2822.test 8b1526b1e5b0d38a1a993f7828fbb81759093686 F test/tkt2832.test cd56dc66bb31898b7eb2146baa5bde2eb80f96fe F test/tkt2854.test aebd5a9904d36d1ef7a074fc5e7c7da3ab00c32a F test/tkt2920.test a8737380e4ae6424e00c0273dc12775704efbebf -F test/tkt2927.test 492c6a9a14b2fc7bdbb17ce8e497d82df627f64d +F test/tkt2927.test a473c09eafa83d95579fc2b976f2afc11571ce7e F test/tkt2942.test c5c87d179799ca6d1fbe83c815510b87cd5ec7ce F test/tkt3080.test 31a02e87a4c80ed443831c2c5b0e8216ff95ac14 F test/trace.test 951cd0f5f571e7f36bf7bfe04be70f90fb16fb00 @@ -633,7 +633,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130 F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0 F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5 -P 59568844e774dbe89fd20bbc8f49a3665cc54717 -R e2a57e4ed5ebffb17e923008220d6df9 +P 70e708660fec0b6f6c41efc2e29f1d7ae6785b7e +R 714aac9f8d3137c40cb007c56fa21ea2 U drh -Z 7cc0f21a84152e1247ee9d012e672d4f +Z b9b04ac723ad1b47b83155a71bbe6504 diff --git a/manifest.uuid b/manifest.uuid index d635ef191f..a6cccfb22a 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -70e708660fec0b6f6c41efc2e29f1d7ae6785b7e \ No newline at end of file +1906d2dadcd70053f55e2133af9f838e2d828fa7 \ No newline at end of file diff --git a/test/tkt2927.test b/test/tkt2927.test index d72aad7bbe..47b974b07d 100644 --- a/test/tkt2927.test +++ b/test/tkt2927.test @@ -11,7 +11,7 @@ # # This file is to test that ticket #2927 is fixed. # -# $Id: tkt2927.test,v 1.1 2008/02/06 23:52:37 drh Exp $ +# $Id: tkt2927.test,v 1.2 2008/05/02 02:00:54 drh Exp $ # set testdir [file dirname $argv0] @@ -635,4 +635,36 @@ do_test tkt2927-6.16 { } } {1 11 2 22 3 33 4 44 5 55} +# Ticket #3092 is the same bug. But another test case never hurts. +# +do_test tkt2927-7.1 { + db eval { + CREATE TABLE host ( + hostname text not null primary key, + consoleHost text, + consolePort text + ); + INSERT INTO "host" VALUES('aald04','aalp03','4'); + INSERT INTO "host" VALUES('aald17','aalp01','1'); + CREATE VIEW consolemap1a as + select hostname, consolehost, '/dev/cuaD0.' || (consoleport-1) consoleport + from host where consolehost='aalp01'; + CREATE VIEW consolemap1b as + select hostname hostname, consolehost consolehost, '/dev/cuaD' || + substr('01',1+((consoleport-1)/16),1) || + substr('0123456789abcdef',1+((consoleport-1)%16),1) consoleport + from host where consolehost='aalp03'; + CREATE VIEW consolemap1 as + select * from consolemap1a + union + select * from consolemap1b; + SELECT * from consolemap1b; + } +} {aald04 aalp03 /dev/cuaD03} +do_test tkt2927-7.2 { + db eval { + SELECT * FROM consolemap1 + } +} {aald04 aalp03 /dev/cuaD03 aald17 aalp01 /dev/cuaD0.0} + finish_test