Rewrote MysqlStatementFactory