Avoid the {{{LIKE %s ESCAPE}}} syntax if the database is sqlite < 3.1. Closes #2960.
Authored by: jonas 2006-05-21
Parent: [r3325]
Child: [r3327]