1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Check that the first byte of a potentially hot journal file is non-zero before beginning hot-journal rollback. Fix for #3751 and #3745. (CVS 6390)

FossilOrigin-Name: 80241a050296067937d0b0529fdf0c347358f86c
This commit is contained in:
danielk1977
2009-03-26 17:13:06 +00:00
parent 6d96100912
commit ee8b799d47
5 changed files with 152 additions and 26 deletions

View File

@ -11,7 +11,7 @@
# This file implements some common TCL routines used for regression
# testing the SQLite library
#
# $Id: tester.tcl,v 1.140 2009/02/19 14:39:25 danielk1977 Exp $
# $Id: tester.tcl,v 1.141 2009/03/26 17:13:06 danielk1977 Exp $
#
# What for user input before continuing. This gives an opportunity
@ -290,6 +290,7 @@ proc finalize_testing {} {
if {$nErr>0} {
puts "Failures on these tests: $::failList"
}
run_thread_tests 1
if {[llength $omitList]>0} {
puts "Omitted test cases:"
set prec {}
@ -959,3 +960,5 @@ proc copy_file {from to} {
# If the library is compiled with the SQLITE_DEFAULT_AUTOVACUUM macro set
# to non-zero, then set the global variable $AUTOVACUUM to 1.
set AUTOVACUUM $sqlite_options(default_autovacuum)
source $testdir/thread_common.tcl