diff options
author | drh <drh@noemail.net> | 2008-04-28 20:35:48 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-04-28 20:35:48 +0000 |
commit | 7d133d88892b2af22c79957a8ba3815cbbdba695 (patch) | |
tree | 45c05712fa3086e4095246c7903e633b621631e7 /src | |
parent | cd3dd9d343592d495bb8297745c0a0e94a4e0a67 (diff) | |
download | sqlite-7d133d88892b2af22c79957a8ba3815cbbdba695.tar.gz sqlite-7d133d88892b2af22c79957a8ba3815cbbdba695.zip |
Allow SQLITE_MAX_COLUMN to be set to zero at compile-time in order to
disable the checks. Also SQLITE_MAX_EXPR_DEPTH. Ticket #3069. (CVS 5065)
FossilOrigin-Name: e6f71abb22fb74e5910d817caec98fa44070fc5f
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c index 06fc5c1b9..25c794768 100644 --- a/src/main.c +++ b/src/main.c @@ -14,7 +14,7 @@ ** other files are for internal use by SQLite and should not be ** accessed by users of the library. ** -** $Id: main.c,v 1.435 2008/04/28 16:19:35 danielk1977 Exp $ +** $Id: main.c,v 1.436 2008/04/28 20:35:49 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -968,12 +968,6 @@ static const int aHardLimit[] = { #if SQLITE_MAX_SQL_LENGTH>SQLITE_MAX_LENGTH # error SQLITE_MAX_SQL_LENGTH must not be greater than SQLITE_MAX_LENGTH #endif -#if SQLITE_MAX_COLUMN<1 -# error SQLITE_MAX_COLUMN must be at least 1 -#endif -#if SQLITE_MAX_EXPR_DEPTH<1 -# error SQLITE_MAX_EXPR_DEPTH must be at least 1 -#endif #if SQLITE_MAX_COMPOUND_SELECT<2 # error SQLITE_MAX_COMPOUND_SELECT must be at least 2 #endif |