Mercurial > kallithea
diff scripts/make-release @ 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 | 80b69729a0e2 |
children | 87496864d4c6 d06c0566cb23 |