]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add the example from #3359 to the test suite. (CVS 6027)
authordanielk1977 <danielk1977@noemail.net>
Sun, 14 Dec 2008 14:45:20 +0000 (14:45 +0000)
committerdanielk1977 <danielk1977@noemail.net>
Sun, 14 Dec 2008 14:45:20 +0000 (14:45 +0000)
FossilOrigin-Name: 84f8417c0794d3e5cec88f59ea71a7d557044409

manifest
manifest.uuid
test/view.test

index c2d25ff7b583c0aa6d9d4ffcece9f4c172d6f24f..3779e5cc5a04e0264f176589fc5685b4bc159019 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Fix\sthe\sname\sof\sthe\ssource\salgorithm\sin\sthe\scomments\sof\sthe\sscript\sgenerators\nfor\sthe\srecently\schecked-in\stest\scases\sfor\sinteger\sboundary-value\stesting.\s(CVS\s6026)
-D 2008-12-14T02:55:16
+C Add\sthe\sexample\sfrom\s#3359\sto\sthe\stest\ssuite.\s(CVS\s6027)
+D 2008-12-14T14:45:21
 F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
 F Makefile.in f7e4c81c347b04f7b0f1c1b081a168645d7b8af7
 F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@@ -620,7 +620,7 @@ F test/vacuum2.test fd87eec0ed72c6cc0809f7867929e2895affed92
 F test/vacuum3.test f39ad1428347c5808cd2da7578c470f186a4d0ce
 F test/varint.test ab7b110089a08b9926ed7390e7e97bdefeb74102
 F test/veryquick.test e265401afefa994cdf2fe4b6f286b1e87c2f9b9d
-F test/view.test 7fba28a47f76541f6aea9542f62f3412e3519bad
+F test/view.test 45f518205ecdb6dd23a86dd4a99bb4ae945e625d
 F test/vtab1.test e321e3c80434fe8de97fa4ad815882d2c7838d21
 F test/vtab2.test 7bcffc050da5c68f4f312e49e443063e2d391c0d
 F test/vtab3.test baad99fd27217f5d6db10660522e0b7192446de1
@@ -672,7 +672,7 @@ F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
 F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
 F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
-P 45277238d355caa1fbeea67c6c6d1a8f231eabda
-R 4027369295aec877799b668aae8bfd01
-U drh
-Z fc0cb5cead65de3eb9d6b7422c58548e
+P adba0f3c01ba2407466d0120c411c398218bdaeb
+R fad0d590913fe8f9e5e994000a8088be
+U danielk1977
+Z 4887ada2d24d472ddc8849201ce49da5
index 542dfa426f5162770b080844efd197981658e2a7..5f631ea19cd8e679a6a5d5067340858abfe5da33 100644 (file)
@@ -1 +1 @@
-adba0f3c01ba2407466d0120c411c398218bdaeb
\ No newline at end of file
+84f8417c0794d3e5cec88f59ea71a7d557044409
\ No newline at end of file
index f35a0437f2e8ff2460b2b795fc89a848e5bf11b2..a87d2770a06e4c567c03830a1319ff60384a9268 100644 (file)
@@ -11,7 +11,7 @@
 # This file implements regression tests for SQLite library.  The
 # focus of this file is testing VIEW statements.
 #
-# $Id: view.test,v 1.38 2008/08/21 14:54:29 drh Exp $
+# $Id: view.test,v 1.39 2008/12/14 14:45:21 danielk1977 Exp $
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
 
@@ -566,4 +566,14 @@ do_test view-19.3 {
   }
 } {rowid 1 a 1 x 5 rowid 2 a 4 x 11}
 
+# Ticket #3539 had this crashing (see commit [5940]).
+do_test view-20.1 {
+  execsql {
+    DROP TABLE IF EXISTS t1;
+    DROP VIEW IF EXISTS v1;
+    CREATE TABLE t1(c1);
+    CREATE VIEW v1 AS SELECT c1 FROM (SELECT t1.c1 FROM t1);
+  }
+} {}
+
 finish_test