aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-03-09 13:07:45 +0000
committerdrh <drh@noemail.net>2015-03-09 13:07:45 +0000
commitc11a172d5fff6eff2bb54f391e36112ea32fb1c1 (patch)
treed00e4adfe5c3cd7b934498f620d40a4caf0b0218 /src/func.c
parent2f82071478261a63280dec5c954f59c3dbdf90ca (diff)
parent80314629393b0bf728465d15ec1f2428c2e9d5c9 (diff)
downloadsqlite-c11a172d5fff6eff2bb54f391e36112ea32fb1c1.tar.gz
sqlite-c11a172d5fff6eff2bb54f391e36112ea32fb1c1.zip
Merge recent trunk enhancements into the sessions branch.
FossilOrigin-Name: 68c8937e83b770d5ec6b1855c1bde81057c11b5f
Diffstat (limited to 'src/func.c')
-rw-r--r--src/func.c5
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;