mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Remove unnecessary parser error count increments. Let the sqlite3ErrorMsg()
take care of doing that. FossilOrigin-Name: 3f3b0f683af2fbee83811536f6bef770ff919385
This commit is contained in:
@ -272,6 +272,25 @@ do_test table-5.2.1 {
|
||||
}
|
||||
} {}
|
||||
|
||||
do_test table-5.2.2 {
|
||||
db close
|
||||
forcedelete test.db
|
||||
sqlite3 db test.db
|
||||
db eval {
|
||||
CREATE TABLE t0(a,b);
|
||||
CREATE INDEX t ON t0(a);
|
||||
PRAGMA writable_schema=ON;
|
||||
UPDATE sqlite_master SET sql='CREATE TABLE a.b(a UNIQUE';
|
||||
BEGIN;
|
||||
CREATE TABLE t1(x);
|
||||
ROLLBACK;
|
||||
DROP TABLE IF EXISTS t99;
|
||||
}
|
||||
} {}
|
||||
db close
|
||||
forcedelete test.db
|
||||
sqlite3 db test.db
|
||||
|
||||
# Make sure an EXPLAIN does not really create a new table
|
||||
#
|
||||
do_test table-5.3 {
|
||||
|
Reference in New Issue
Block a user