aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-10-07 15:46:54 +0000
committerdrh <drh@noemail.net>2014-10-07 15:46:54 +0000
commitd231aa3a42a58d046183b1cdd89dc05d94e0c724 (patch)
tree3f1002d4cee85767df0d0f1d9d0924e4f02a06e7 /src/sqliteInt.h
parent85d117bc56a04688971a4e550717cea554939492 (diff)
downloadsqlite-d231aa3a42a58d046183b1cdd89dc05d94e0c724.tar.gz
sqlite-d231aa3a42a58d046183b1cdd89dc05d94e0c724.zip
Enhance (and fix) the MEMTYPE tags associated with heap memory allocations
when SQLITE_MEMDEBUG is used. FossilOrigin-Name: ca5b789e33c4e5ce366d8f5372d086442f84e230
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 74c36c8db..7998638c7 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3800,10 +3800,9 @@ SQLITE_EXTERN void (*sqlite3IoTrace)(const char*,...);
# define sqlite3MemdebugNoType(X,Y) 1
#endif
#define MEMTYPE_HEAP 0x01 /* General heap allocations */
-#define MEMTYPE_LOOKASIDE 0x02 /* Might have been lookaside memory */
+#define MEMTYPE_LOOKASIDE 0x02 /* Heap that might have been lookaside */
#define MEMTYPE_SCRATCH 0x04 /* Scratch allocations */
#define MEMTYPE_PCACHE 0x08 /* Page cache allocations */
-#define MEMTYPE_DB 0x10 /* Uses sqlite3DbMalloc, not sqlite_malloc */
/*
** Threading interface