Change the error message text for SQLITE_ERROR to omit the part about

"missing database" as that meaning is now obsolete (since approx SQLite 2.0).

FossilOrigin-Name: 732f90d6327c5c6368fc8b4cc207bd644ef08e3ae6d2e7295258ab099deaba63
This commit is contained in:
drh
2017-07-07 19:43:23 +00:00
parent b11c650c01
commit a690ff360b
114 changed files with 183 additions and 281 deletions
+2 -2
View File
@@ -338,7 +338,7 @@ do_test rtree-7.2.1 {
CREATE TABLE t4_node(a);
}
catchsql { ALTER TABLE "abc 123" RENAME TO t4 }
} {1 {SQL logic error or missing database}}
} {1 {SQL logic error}}
do_test rtree-7.2.2 {
execsql_intout { SELECT * FROM "abc 123" }
} {1 2 3 4 5 6 7}
@@ -348,7 +348,7 @@ do_test rtree-7.2.3 {
CREATE TABLE t4_rowid(a);
}
catchsql { ALTER TABLE "abc 123" RENAME TO t4 }
} {1 {SQL logic error or missing database}}
} {1 {SQL logic error}}
do_test rtree-7.2.4 {
db close
sqlite3 db test.db