Mercurial > kallithea
diff scripts/whitespacecleanup.sh @ 5687:69e738523107
db: match case-insensitively using func.lower, not ilike
ilike() uses SQL ILIKE operator internally, which means it interprets
'%' and '_' in the match pattern as wildcards. Instead of ilike(), it's
better to turn both operands to the lower case and compare them.
This also unbreaks the test case introduced in 13d0fe6f751a.
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Sun, 31 Jan 2016 16:51:32 +0100 |
parents | edb24bc0f71a |
children | 4e78a8ed3f07 |