aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-06-05 16:47:39 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-06-05 16:47:39 +0000
commit4b5255ac3140226c4bf9dfdf8eb3c7515a40cb32 (patch)
treee1f8dcb0b5c7d897b60ccf835714950dc21c573e /src/sqliteInt.h
parent861f74563d4cc0f8b4d63488790c0deea1167faa (diff)
downloadsqlite-4b5255ac3140226c4bf9dfdf8eb3c7515a40cb32.tar.gz
sqlite-4b5255ac3140226c4bf9dfdf8eb3c7515a40cb32.zip
Reorganize some of the code that detects expression trees with a depth greater than EXPR_MAX_DEPTH so that they are detected earlier. This further reduces the opportunities for stack overflow. (CVS 5189)
FossilOrigin-Name: 16d4c53a8e4d3cfc1abac3b8bb44d8bfd9471e32
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index b00a8a5c1..9981ef071 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.705 2008/05/28 13:49:36 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.706 2008/06/05 16:47:39 danielk1977 Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -2196,10 +2196,10 @@ int sqlite3FindInIndex(Parse *, Expr *, int);
#endif
#if SQLITE_MAX_EXPR_DEPTH>0
- void sqlite3ExprSetHeight(Expr *);
+ void sqlite3ExprSetHeight(Parse *pParse, Expr *p);
int sqlite3SelectExprHeight(Select *);
#else
- #define sqlite3ExprSetHeight(x)
+ #define sqlite3ExprSetHeight(x,y)
#define sqlite3SelectExprHeight(x) 0
#endif