aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-03-09 13:24:46 +0000
committerdrh <drh@noemail.net>2015-03-09 13:24:46 +0000
commita9106ca83d7f66a76fb5143a812423148380c305 (patch)
tree2420c7a8fbdc7ddd4df7d675f1f73fda11cbcbf6 /src/func.c
parent54fc21438e169c76ed2695505fc7b0e42a46fc68 (diff)
parent80314629393b0bf728465d15ec1f2428c2e9d5c9 (diff)
downloadsqlite-a9106ca83d7f66a76fb5143a812423148380c305.tar.gz
sqlite-a9106ca83d7f66a76fb5143a812423148380c305.zip
Merge recent trunk enhancements into the ota-update branch.
FossilOrigin-Name: 5489cb68921f62f10d832adbc4d19ea8c6c5da50
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;