diff options
author | drh <drh@noemail.net> | 2015-03-07 00:57:37 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-03-07 00:57:37 +0000 |
commit | 16897072b5bd1dc5970cc7d3259f538424f502ad (patch) | |
tree | ce249d127389955333b982ec1603b8c67ef345da /src/func.c | |
parent | a9c18a90673169aa9f39dbfff515dded87654691 (diff) | |
download | sqlite-16897072b5bd1dc5970cc7d3259f538424f502ad.tar.gz sqlite-16897072b5bd1dc5970cc7d3259f538424f502ad.zip |
Refactor some jump opcodes in the VDBE. Add JumpZeroIncr and DecrJumpZero.
Fix the LIKE optimization to work with DESC sort order.
FossilOrigin-Name: 26cb5145bf52f8c3fffa8c69b6c24aee4d974883
Diffstat (limited to 'src/func.c')
-rw-r--r-- | src/func.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/func.c b/src/func.c index 30990a30f..d917bdbec 100644 --- a/src/func.c +++ b/src/func.c @@ -1650,6 +1650,11 @@ void sqlite3RegisterLikeFunctions(sqlite3 *db, int caseSensitive){ ** then set aWc[0] through aWc[2] to the wildcard characters and ** return TRUE. If the function is not a LIKE-style function then ** return FALSE. +** +** *pIsNocase is set to true if uppercase and lowercase are equivalent for +** the function (default for LIKE). If the function makes the distinction +** between uppercase and lowercase (as does GLOB) then *pIsNocase is set to +** false. */ int sqlite3IsLikeFunction(sqlite3 *db, Expr *pExpr, int *pIsNocase, char *aWc){ FuncDef *pDef; |