r9591: add boolean where capability for mysql 4.1