mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix an assert() that may fail following an OOM error.
FossilOrigin-Name: 5f592359d6d41708da3b3ac9d987a1631bfa3d88
This commit is contained in:
@ -134,5 +134,15 @@ do_faultsim_test 6 -faults oom* -body {
|
||||
faultsim_test_result {0 {12 13 14 15}}
|
||||
}
|
||||
|
||||
do_execsql_test 7.1 {
|
||||
CREATE TABLE x1(a INTEGER PRIMARY KEY, b);
|
||||
}
|
||||
do_faultsim_test 7.2 -faults oom* -body {
|
||||
execsql { SELECT * FROM x1 WHERE a = (SELECT 1) }
|
||||
} -test {
|
||||
faultsim_test_result [list 0 {}]
|
||||
}
|
||||
|
||||
|
||||
finish_test
|
||||
|
||||
|
Reference in New Issue
Block a user