Build and test fixes for SQLITE_OMIT_WINDOWFUNC builds.
FossilOrigin-Name: 8824115a9776e876a3677f0cb479e311ee65584d43872b37766a146afec72d8f
This commit is contained in:
@@ -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
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user