Our `with_hints` patch should only apply to MySQL so as not to break oth...

...er database support.

Ran into this while trying to run  tests under sqlite3.