diff options
author | dan <dan@noemail.net> | 2020-08-20 16:25:26 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2020-08-20 16:25:26 +0000 |
commit | 6c3b4b07d13f1cb9047103582381925a01f1a3a2 (patch) | |
tree | 7a77fc0ff9df1201b7041388f2de07eb35b76cb2 /src/sqliteLimit.h | |
parent | 7b14b990d0fbf4b28a13095702d3d81684da15ec (diff) | |
download | sqlite-6c3b4b07d13f1cb9047103582381925a01f1a3a2.tar.gz sqlite-6c3b4b07d13f1cb9047103582381925a01f1a3a2.zip |
Fix a crash that could occur in SQLITE_MAX_EXPR_DEPTH=0 builds when processing SQL containing syntax errors.
FossilOrigin-Name: 5f58dd3a19605b6f49b4364fa29892502eff35f12a7693a8694100e1844711ea
Diffstat (limited to 'src/sqliteLimit.h')
-rw-r--r-- | src/sqliteLimit.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sqliteLimit.h b/src/sqliteLimit.h index a7302575c..08703cb73 100644 --- a/src/sqliteLimit.h +++ b/src/sqliteLimit.h @@ -60,11 +60,7 @@ ** The maximum depth of an expression tree. This is limited to ** some extent by SQLITE_MAX_SQL_LENGTH. But sometime you might ** want to place more severe limits on the complexity of an -** expression. -** -** A value of 0 used to mean that the limit was not enforced. -** But that is no longer true. The limit is now strictly enforced -** at all times. +** expression. A value of 0 means that there is no limit. */ #ifndef SQLITE_MAX_EXPR_DEPTH # define SQLITE_MAX_EXPR_DEPTH 1000 |