fix #239 by forcing case insensitivy for sql-based drivers.