- Fixed MySQL adapter to correctly set connection collation/charset and handle time objects with prepared statements
- Corrected enum scoping and prevented faulty optimized `exists?` queries when a HAVING clause is present
- Incremented PostgreSQL prepared‑statement counter before execution to avoid crashes on aborted statements