mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Fix a problem allowing a COMMIT following an OOM to cause fts3/4 corruption.
FossilOrigin-Name: 7f41d7006db4225cf9b3d197d3a76842778669ac079e76361214a8023c9976e6
This commit is contained in:
@ -2595,17 +2595,13 @@ do_execsql_test 17.1 {
|
||||
UPDATE t1 SET b=quote(zeroblob(200)) WHERE a MATCH 'thread*';
|
||||
}
|
||||
|
||||
do_catchsql_test 17.2 {
|
||||
DROP TABLE IF EXISTS t1;
|
||||
} {1 {SQL logic error}}
|
||||
|
||||
do_execsql_test 17.3 {
|
||||
do_execsql_test 17.2 {
|
||||
INSERT INTO t1(t1) VALUES('optimize');
|
||||
}
|
||||
|
||||
do_catchsql_test 17.4 {
|
||||
do_catchsql_test 17.3 {
|
||||
DROP TABLE IF EXISTS t1;
|
||||
} {1 {SQL logic error}}
|
||||
} {0 {}}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
reset_db
|
||||
|
Reference in New Issue
Block a user