sqlite got case sensitive by default at some point - lowercase strings for comparing them

This commit is contained in:
Shish 2013-06-13 10:34:47 +01:00
parent e01b9b22c4
commit 19c0868b2c

View file

@ -145,7 +145,7 @@ class SQLite extends DBEngine {
$data = str_replace("SCORE_BOOL_N", "'N'", $data);
$data = str_replace("SCORE_BOOL", "CHAR(1)", $data);
$data = str_replace("SCORE_NOW", "\"1970-01-01\"", $data);
$data = str_replace("SCORE_STRNORM", "", $data);
$data = str_replace("SCORE_STRNORM", "lower", $data);
$data = str_replace("SCORE_ILIKE", "LIKE", $data);
return $data;
}