From aaab5725dba68b9c40288cdce11619d601b460c1 Mon Sep 17 00:00:00 2001 From: drh Date: Tue, 19 Feb 2002 13:39:21 +0000 Subject: Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) FossilOrigin-Name: c6e9048e66c8d8e2d5f6c62aa724eef3e9d9f572 --- src/test3.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/test3.c') diff --git a/src/test3.c b/src/test3.c index 54f946269..59f720901 100644 --- a/src/test3.c +++ b/src/test3.c @@ -13,7 +13,7 @@ ** is not included in the SQLite library. It is used for automated ** testing of the SQLite library. ** -** $Id: test3.c,v 1.13 2001/11/09 13:41:10 drh Exp $ +** $Id: test3.c,v 1.14 2002/02/19 13:39:23 drh Exp $ */ #include "sqliteInt.h" #include "pager.h" @@ -461,13 +461,13 @@ static int btree_pager_ref_dump( } /* -** Usage: btree_sanity_check ID ROOT ... +** Usage: btree_integrity_check ID ROOT ... ** ** Look through every page of the given BTree file to verify correct ** formatting and linkage. Return a line of text for each problem found. ** Return an empty string if everything worked. */ -static int btree_sanity_check( +static int btree_integrity_check( void *NotUsed, Tcl_Interp *interp, /* The TCL interpreter that invoked this command */ int argc, /* Number of arguments */ @@ -490,7 +490,7 @@ static int btree_sanity_check( for(i=0; i