Update a couple of test cases to account for the fact that ROLLBACK does not always abort all running SELECT statements.
FossilOrigin-Name: eba171e980fa4491dfee9d7e4df50c87a0ebbf87
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