[smartpl] compare strings case insensitive

This commit is contained in:
chme 2015-04-23 19:17:01 +02:00
parent 8376180fd6
commit 920af668a1

View File

@ -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, "'");
}