WL#476: Faster user search on connection

Status: Un-Assigned   —   Priority: Medium

Currently at connection time MySQL does linear search of user in the list of
users. This could be performance bottleneck with both large number of users and
large number of connects.

This should be fixed by using hash search instead of linear search for users.