diff options
author | drh <drh@noemail.net> | 2008-07-25 15:39:03 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-07-25 15:39:03 +0000 |
commit | ec424a5be6e650ad5cd7d051f7ea404fed606f86 (patch) | |
tree | b18f7553ea7753417b981a9a906f677fbd35388c /src/test_malloc.c | |
parent | 1bb14aca968f76b222fc3735cc161974c1d64cf6 (diff) | |
download | sqlite-ec424a5be6e650ad5cd7d051f7ea404fed606f86.tar.gz sqlite-ec424a5be6e650ad5cd7d051f7ea404fed606f86.zip |
Add the capability to track the maximum depth of the LALR(1) parser stack
so that critical applications can check to see if they are getting close
to limits. (CVS 5481)
FossilOrigin-Name: ef0250f3dc769a4acd534f31fa06d90922d4145b
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index ea5c2d6c7..0c963ad40 100644 --- a/src/test_malloc.c +++ b/src/test_malloc.c @@ -13,7 +13,7 @@ ** This file contains code used to implement test interfaces to the ** memory allocation subsystem. ** -** $Id: test_malloc.c,v 1.40 2008/07/25 08:49:00 danielk1977 Exp $ +** $Id: test_malloc.c,v 1.41 2008/07/25 15:39:04 drh Exp $ */ #include "sqliteInt.h" #include "tcl.h" @@ -1083,6 +1083,7 @@ static int test_status( { "SQLITE_STATUS_SCRATCH_USED", SQLITE_STATUS_SCRATCH_USED }, { "SQLITE_STATUS_SCRATCH_OVERFLOW", SQLITE_STATUS_SCRATCH_OVERFLOW }, { "SQLITE_STATUS_MALLOC_SIZE", SQLITE_STATUS_MALLOC_SIZE }, + { "SQLITE_STATUS_PARSER_STACK", SQLITE_STATUS_PARSER_STACK }, }; Tcl_Obj *pResult; if( objc!=3 ){ |