diff options
Diffstat (limited to 'src/btreeInt.h')
-rw-r--r-- | src/btreeInt.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/btreeInt.h b/src/btreeInt.h index af295dd50..79c3296d0 100644 --- a/src/btreeInt.h +++ b/src/btreeInt.h @@ -681,8 +681,8 @@ struct BtCursor { /* -** This structure is passed around through all the sanity checking routines -** in order to keep track of some global state information. +** This structure is passed around through all the PRAGMA integrity_check +** checking routines in order to keep track of some global state information. ** ** The aRef[] array is allocated so that there is 1 bit for each page in ** the database. As the integrity-check proceeds, for each page used in @@ -698,7 +698,8 @@ struct IntegrityCk { Pgno nPage; /* Number of pages in the database */ int mxErr; /* Stop accumulating errors when this reaches zero */ int nErr; /* Number of messages written to zErrMsg so far */ - int bOomFault; /* A memory allocation error has occurred */ + int rc; /* SQLITE_OK, SQLITE_NOMEM, or SQLITE_INTERRUPT */ + u32 nStep; /* Number of steps into the integrity_check process */ const char *zPfx; /* Error message prefix */ Pgno v1; /* Value for first %u substitution in zPfx */ int v2; /* Value for second %d substitution in zPfx */ |