Improved error reporting via `DatabaseError`
This patch was authored and released by @gwynne.
DatabaseError
's isSyntaxError
and isConnectionClosed
properties now correctly respect MySQLError.invalidSyntax
and MySQLError.closed
errors. A unit tests for these behaviors is included.
Also avoids double-running the FluentBenchmark tests (same change as fluent-sqlite-driver#75).