1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Make calls to sqlite3BtreeRollbackStmt() no-ops when passed a Btree* handle that does not have an open statement transaction. Ticket #3718. (CVS 6342)

FossilOrigin-Name: a1bb1aef0e06140a2d5d5e4b6c10c73ce95c89e0
This commit is contained in:
danielk1977
2009-03-12 14:43:27 +00:00
parent 6fa0fe13f0
commit 20736d82e2
6 changed files with 195 additions and 21 deletions

View File

@@ -12,7 +12,7 @@
# This file contains tests that attempt to break the pcache module
# by bombarding it with simultaneous requests from multiple threads.
#
# $Id: thread003.test,v 1.6 2009/02/12 17:06:41 drh Exp $
# $Id: thread003.test,v 1.7 2009/03/12 14:43:28 danielk1977 Exp $
set testdir [file dirname $argv0]
@@ -158,7 +158,7 @@ do_test thread003.3 {
# sqlite3_release_memory() over and over again.
#
set nSecond 30
puts "Starting thread003.3 (should run for ~$nSecond seconds)"
puts "Starting thread003.4 (should run for ~$nSecond seconds)"
unset -nocomplain finished(1)
unset -nocomplain finished(2)
do_test thread003.4 {