fix mysql driver bug where queries that selected an entire table were always returning an empty array