]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Issue #546: enable case-insensitive searching in MySQL
authorDan Scott <dan@coffeecode.net>
Sat, 27 Aug 2011 20:33:15 +0000 (16:33 -0400)
committerDan Scott <dan@coffeecode.net>
Sat, 27 Aug 2011 20:36:58 +0000 (16:36 -0400)
commitdb9ac1a531c6dfb479c4cd6c9e242d79dd5d5fde
tree189d46182e92ca8a7b00f79866aaa84d15187503
parent8287f27a95dc91dc12db142f240fbacff08f1809
Issue #546: enable case-insensitive searching in MySQL

MySQL needs the collation utf8_general_ci to support case-insensitive
searching. lib/mysqlschema.php already supports a 'collate' attribute on
a per-column basis, so we just need to take advantage of that attribute
on the columns we want to search and Bob (and BOB, and bOB) is your
uncle.

Signed-off-by: Dan Scott <dan@coffeecode.net>
classes/Notice.php
classes/Profile.php