From 920af668a1ed8025349885547d3a52dce254ed3f Mon Sep 17 00:00:00 2001 From: chme Date: Thu, 23 Apr 2015 19:17:01 +0200 Subject: [PATCH] [smartpl] compare strings case insensitive --- src/SMARTPL2SQL.g | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMARTPL2SQL.g b/src/SMARTPL2SQL.g index 9936c86a..43f3f894 100644 --- a/src/SMARTPL2SQL.g +++ b/src/SMARTPL2SQL.g @@ -110,7 +110,7 @@ expression returns [ pANTLR3_STRING result ] $result = $STR.text->factory->newRaw($STR.text->factory); $result->append8($result, "f."); $result->appendS($result, $STRTAG.text->toUTF8($STRTAG.text)); - $result->append8($result, " = '"); + $result->append8($result, " LIKE '"); $result->append8($result, sqlite3_mprintf("\%q", (const char *)val)); $result->append8($result, "'"); }