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

Add the ability to unregister a virtual table module by invoking

sqlite3_create_module() with a NULL sqlite3_module pointer.

FossilOrigin-Name: 31e34fa3390196cdc3178bf120224b08df5ec58fa2c77079ede6e9461a430dad
This commit is contained in:
drh
2019-08-16 22:58:29 +00:00
parent 4043cfef75
commit cc5979dbd3
9 changed files with 86 additions and 37 deletions

View File

@ -47,12 +47,12 @@ do_test intarray-1.1 {
}
} {table ia1 table ia2 table ia3 table ia4}
# Verify the inability to DROP and recreate an intarray virtual table.
# Verify the ability 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}
set rc [catch {sqlite3_intarray_create db ia1} ia1]
lappend rc $ia1
} {/0 [0-9A-Z]+/}
do_test intarray-1.2 {
db eval {