mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
Improvements to the way PRAGMA integrity_check works. More likely to output
userful information when given a corrupt database. (CVS 1132) FossilOrigin-Name: b92c31d6c138f9462730cecfe14f7dde19778e79
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
#
|
||||
# This file implements tests for the PRAGMA command.
|
||||
#
|
||||
# $Id: pragma.test,v 1.6 2003/07/27 17:26:23 drh Exp $
|
||||
# $Id: pragma.test,v 1.7 2003/12/16 03:44:48 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -264,8 +264,6 @@ do_test pragma-3.2 {
|
||||
btree_commit $db
|
||||
btree_close $db
|
||||
execsql {PRAGMA integrity_check}
|
||||
} {{rowid 1 missing from index i2
|
||||
wrong # of entries in index i2
|
||||
}}
|
||||
} {{rowid 1 missing from index i2} {wrong # of entries in index i2}}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user