1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Add geopoly to $::sqlite_options() and use it to pass more tests.

FossilOrigin-Name: 23da5016b66f3947cc902dbe2766ea9f5a00f85312a652b536ab51d657446ab7
This commit is contained in:
larrybr
2021-04-16 23:43:22 +00:00
parent de0e1b150c
commit 1929cc0d8a
4 changed files with 19 additions and 9 deletions

View File

@ -1194,6 +1194,8 @@ do_test rtreefuzz001-600 {
| end crash-7b37d80f000235.db
}]} {}
ifcapable geopoly {
do_catchsql_test rtreefuzz001-601 {
SAVEPOINT one;
UPDATE geo1 SET clr=CASE WHEN rowid IN ( SELECT geo1.rowid FROM geo1, querypoly ) THEN 'e' ELSE 'blue' END;
@ -1204,4 +1206,6 @@ do_catchsql_test rtreefuzz001-602 {
FROM geo1, querypoly WHERE geopoly_overlap(_shape, poly);
} {1 {database disk image is malformed}}
} ;# ifcapable geopoly
finish_test