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

The RTREE extension should return SQLITE_CORRUPT_VTAB, not just SQLITE_CORRUPT

when it encounters incorrectly formatted shadow tables.

FossilOrigin-Name: 0712f057ef3dcd907984dda30f6d961a29b61c1d2b25627028c4e227ec85dbba
This commit is contained in:
drh
2017-08-17 18:17:24 +00:00
parent 967f8f9e07
commit 6362bbe68d
4 changed files with 10 additions and 10 deletions

View File

@ -230,7 +230,7 @@ do_catchsql_test rtreeA-7.110 {
} {1 {undersize RTree blobs in "t1_node"}}
do_test rtreeA-7.120 {
sqlite3_extended_errcode db
} {SQLITE_CORRUPT}
} {SQLITE_CORRUPT_VTAB}