mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Update a couple of test cases to account for the fact that ROLLBACK does not always abort all running SELECT statements.
FossilOrigin-Name: abccda769a3f6b755c3bf70b5fb31a5e16718ef3
This commit is contained in:
@ -446,9 +446,15 @@ do_malloc_test shared_err-8 -tclprep {
|
||||
} {1}
|
||||
db2 close
|
||||
}
|
||||
|
||||
# When this test case was written, OOM errors in write statements would
|
||||
# cause transaction rollback, which would trip cursors in other statements,
|
||||
# aborting them. This no longer happens.
|
||||
#
|
||||
do_test shared_malloc-8.X {
|
||||
# Test that one or more queries were aborted due to the malloc() failure.
|
||||
expr $::aborted>=1
|
||||
# expr $::aborted>=1
|
||||
expr $::aborted==0
|
||||
} {1}
|
||||
|
||||
# This test is designed to catch a specific bug that was present during
|
||||
|
Reference in New Issue
Block a user