ZoneMinder/ZoneMinder — pull request #121 by rkojedzinszky (2013-09-12 20:55:06+00:00)
Title: Rewritten the query to allow mysql to use indexes

On a system with heavy logging, without this the login procedure took
too long.