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

Tweaks to the test_intarray documentation and tests.

FossilOrigin-Name: 7107f0dacf4467430d1ca157cb848dde984e48e529e7d67a88b7594b0f8159c9
This commit is contained in:
drh
2018-10-31 18:24:29 +00:00
parent 05209e9021
commit f8181eaa20
5 changed files with 28 additions and 12 deletions

View File

@ -47,6 +47,13 @@ do_test intarray-1.1 {
}
} {table ia1 table ia2 table ia3 table ia4}
# Verify the inability to DROP and recreate an intarray virtual table.
do_test intarray-1.1b {
db eval {DROP TABLE ia1}
set rc [catch {sqlite3_intarray_create db ia1} msg]
lappend rc $msg
} {1 SQLITE_MISUSE}
do_test intarray-1.2 {
db eval {
SELECT b FROM t1 WHERE a IN ia3 ORDER BY a