diff options
author | drh <drh@noemail.net> | 2017-07-27 20:24:29 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-07-27 20:24:29 +0000 |
commit | 1d42ea71c241af62344843218a2cde683322f091 (patch) | |
tree | c0e55cb51a8b3c26ac65f80f6ea45c1800137199 /src/wherecode.c | |
parent | 01d837df9cd473414c9fe2320b91ee62cb25bd3a (diff) | |
download | sqlite-1d42ea71c241af62344843218a2cde683322f091.tar.gz sqlite-1d42ea71c241af62344843218a2cde683322f091.zip |
Enhance the like optimization so that it works with an ESCAPE clause.
FossilOrigin-Name: f5d330f495d07a704e115595bbdf5422ddb68fd8191114c5a12c9c873d983f7c
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index d577f1d3f..528aeec2b 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -794,7 +794,7 @@ static int codeCursorHintIsOrFunction(Walker *pWalker, Expr *pExpr){ pWalker->eCode = 1; }else if( pExpr->op==TK_FUNCTION ){ int d1; - char d2[3]; + char d2[4]; if( 0==sqlite3IsLikeFunction(pWalker->pParse->db, pExpr, &d1, d2) ){ pWalker->eCode = 1; } |