Instead of storing a pointer to the parent page in the MemPage structure, have each B-Tree cursor keep track of the ancestry of the current page. (CVS 5747)

FossilOrigin-Name: 40425e93421286cca1965d7a5769084526210c7a
This commit is contained in:
danielk1977
2008-09-29 11:49:47 +00:00
parent d0507d691e
commit 71d5d2cd49
11 changed files with 340 additions and 414 deletions
+1 -3
View File
@@ -13,7 +13,7 @@
# This file implements tests to make sure SQLite does not crash or
# segfault if it sees a corrupt database file.
#
# $Id: corrupt2.test,v 1.17 2008/09/10 11:28:38 danielk1977 Exp $
# $Id: corrupt2.test,v 1.18 2008/09/29 11:49:48 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -225,8 +225,6 @@ do_test corrupt2-5.1 {
}
set result
} {{*** in database main ***
Page 10: sqlite3BtreeInitPage() returns error code 11
On tree page 3 cell 1: Child page depth differs
On tree page 2 cell 0: 2nd reference to page 10
On tree page 2 cell 1: Child page depth differs
Page 4 is never used}}