]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add a test case for ticket #3893 and ticket #3894. (CVS 6705)
authordrh <drh@noemail.net>
Tue, 2 Jun 2009 15:47:37 +0000 (15:47 +0000)
committerdrh <drh@noemail.net>
Tue, 2 Jun 2009 15:47:37 +0000 (15:47 +0000)
FossilOrigin-Name: 2472f6db95cd537a908bdbbbbc41bad2bd987b2f

manifest
manifest.uuid
test/colname.test

index 92583df72f4497c270a2c4de9bb411e0d10ae744..3db5d28f639fb9b1a2ec6957554209d37c7e9f79 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\sthe\svdbe-compress.tcl\sscript\swhich\sautomatically\srefactors\sthe\nsqlite3VdbeExec()\sroutine\sto\suse\sless\sstack\sspace.\s\sUse\sthis\sscript\nwhen\sconstructing\sthe\samalgamation.\s(CVS\s6704)
-D 2009-06-02T15:21:42
+C Add\sa\stest\scase\sfor\sticket\s#3893\sand\sticket\s#3894.\s(CVS\s6705)
+D 2009-06-02T15:47:38
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in 8b8fb7823264331210cddf103831816c286ba446
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -277,7 +277,7 @@ F test/collate8.test df26649cfcbddf109c04122b340301616d3a88f6
 F test/collate9.test 3adcc799229545940df2f25308dd1ad65869145a
 F test/collateA.test b8218ab90d1fa5c59dcf156efabb1b2599c580d6
 F test/colmeta.test 087c42997754b8c648819832241daf724f813322
-F test/colname.test 69fea30632d55862a012d3786c7d5fd1329f78db
+F test/colname.test 08948a4809d22817e0e5de89c7c0a8bd90cb551b
 F test/conflict.test 0ed68b11f22721052d880ee80bd528a0e0828236
 F test/corrupt.test 5bcf7a986358123b8055dfa64b45fc2fb54dcaa9
 F test/corrupt2.test a571e30ea4e82318f319a24b6cc55935ce862079
@@ -732,7 +732,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/vdbe-compress.tcl 383f4be3ceb8cec24f31f27480232fbb866fd83a
-P ea7dfde700fb57ed0ecb5000a55abbf45aa1e09d
-R f304b4ea19d83f978fafc25600629030
+P 7f43391831b03e53d967acee6ae02089740aaedb
+R b31694ba92374d717dd008daf81bde48
 U drh
-Z 613f8e55a41fae0a6bf73d1968f3449f
+Z 478edb6360b0cd2be154f1dd2a044a7c
index b8777548968e0c942ad29e71ed9e74d467393c62..02ff77fecb772a63c6bfa8c989b0305268d9f8e8 100644 (file)
@@ -1 +1 @@
-7f43391831b03e53d967acee6ae02089740aaedb
\ No newline at end of file
+2472f6db95cd537a908bdbbbbc41bad2bd987b2f
\ No newline at end of file
index 37eb20690c80a7656fa6adbd31b6801164c1ac8d..e16304d4a98ea67c353cc82d403857781bb819f7 100644 (file)
@@ -13,7 +13,7 @@
 # The focus of this file is testing how SQLite generates the names
 # of columns in a result set.
 #
-# $Id: colname.test,v 1.6 2008/10/09 15:56:46 drh Exp $
+# $Id: colname.test,v 1.7 2009/06/02 15:47:38 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -316,4 +316,14 @@ do_test colname-7.1 {
   execsql2 {SELECT rowid, * FROM t7}
 } {x 1 x 1 y 2}
 
+# Tickets #3893 and #3984.  (Same problem; independently reported)
+#
+do_test colname-8.1 {
+  db eval {
+    CREATE TABLE "t3893"("x");
+    INSERT INTO t3893 VALUES(123);
+    SELECT "y"."x" FROM (SELECT "x" FROM "t3893") AS "y";
+  }
+} {123}
+
 finish_test