In bug 321427 I created sql_iposition, and there are a few other places that we can use it other than the place I used it in that bug.
Turns out it's only used in Bugzilla::User.
Created attachment 327346 [details] [diff] [review] v1 This patch is pretty obvious. This is also the very last use of LOWER in Bugzilla outside of the DB layer! :-) This should make user-matching slightly faster on MySQL, I think.
Comment on attachment 327346 [details] [diff] [review] v1 Works fine. r=LpSolit
Checking in Bugzilla/User.pm; /cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm new revision: 1.165; previous revision: 1.164 done