speed tweaks and documentation updates (CVS 167)
FossilOrigin-Name: ced90c3f93e5e0cf73ea77b62a1308cd8dd5f3b3
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 87fba20..5b777ef 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -23,7 +23,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.32 2000/11/28 20:47:23 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.33 2000/12/10 18:23:51 drh Exp $
*/
#include "sqlite.h"
#include "dbbe.h"
@@ -62,17 +62,18 @@
/*
** The following global variables are used for testing and debugging
-** only. Thy only work if MEMORY_DEBUG is defined.
+** only. They only work if MEMORY_DEBUG is defined.
*/
#ifdef MEMORY_DEBUG
-int sqlite_nMalloc; /* Number of sqliteMalloc() calls */
-int sqlite_nFree; /* Number of sqliteFree() calls */
-int sqlite_iMallocFail; /* Fail sqliteMalloc() after this many calls */
+extern int sqlite_nMalloc; /* Number of sqliteMalloc() calls */
+extern int sqlite_nFree; /* Number of sqliteFree() calls */
+extern int sqlite_iMallocFail; /* Fail sqliteMalloc() after this many calls */
#endif
/*
** The number of entries in the in-memory hash array holding the
-** database schema.
+** database schema. (Collision resolution is by chaining, so the
+** table will hold more than this many entries.)
*/
#define N_HASH 51
@@ -123,7 +124,7 @@
*/
struct sqlite {
Dbbe *pBe; /* The backend driver */
- int flags; /* Miscellanous flags */
+ int flags; /* Miscellanous flags. See below */
int file_format; /* What file format version is this database? */
int nTable; /* Number of tables in the database */
void *pBusyArg; /* 1st Argument to the busy callback */