Build and test fixes for SQLITE_OMIT_WINDOWFUNC builds.

FossilOrigin-Name: 8824115a9776e876a3677f0cb479e311ee65584d43872b37766a146afec72d8f
This commit is contained in:
dan
2019-02-11 11:34:01 +00:00
parent 3fd7eaf3f2
commit 8cd2e4ae03
6 changed files with 19 additions and 10 deletions
+2
View File
@@ -179,6 +179,7 @@ do_execsql_test 4.3 {
}
#-------------------------------------------------------------------------
ifcapable windowfunc {
do_execsql_test 5.0 {
CREATE TABLE t2(a);
CREATE TRIGGER r2 AFTER INSERT ON t2 WHEN new.a NOT NULL BEGIN
@@ -235,6 +236,7 @@ do_execsql_test 5.2 {
do_execsql_test 5.3 {
INSERT INTO t2x VALUES(1);
} {}
} ;# windowfunc
#-------------------------------------------------------------------------
+2
View File
@@ -20,6 +20,7 @@ ifcapable !altertable {
return
}
ifcapable windowfunc {
do_execsql_test 1.0 {
CREATE TABLE t1(a, b);
CREATE TRIGGER tr1 AFTER INSERT ON t1 BEGIN
@@ -40,6 +41,7 @@ do_execsql_test 1.2 {
do_execsql_test 1.3 {
INSERT INTO t1 VALUES(1, 2);
}
} ;# windowfunc
#-------------------------------------------------------------------------
reset_db
+3
View File
@@ -128,6 +128,7 @@ do_execsql_test 2.1 {
# Segfault due to multiple uses of the same subquery where the
# subquery is implemented via coroutine.
#
ifcapable windowfunc {
sqlite3 db :memory:
do_execsql_test 3.0 {
-- This is the original test case reported on the mailing list
@@ -166,6 +167,8 @@ do_execsql_test 3.0 {
AND (albums.id IN (1, 2)))
));
} {1 Ar}
} ;# windowfunc
# The remaining test cases were discovered (by Dan) during trouble-shooting
sqlite3 db :memory:
do_execsql_test 3.1 {