Skip to content

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Dec 13, 2021

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).

@gwynne gwynne added the semver-patch Internal changes only label Dec 13, 2021
@gwynne gwynne requested review from 0xTim and jdmcd December 13, 2021 17:05
@gwynne gwynne self-assigned this Dec 13, 2021
…ow correctly respect `MySQLError.invalidSyntax` and `MySQLError.closed`. A unit tests for these behaviors is included.

Also avoids double-running the FluentBenchmark tests and adds the missing `testSQL()` benchmark test.
@gwynne gwynne force-pushed the correct-databaseerror-support branch from eaa0c23 to adaa851 Compare December 13, 2021 17:08
@gwynne
Copy link
Member Author

gwynne commented Dec 13, 2021

Overriding spurious test failures to merge, but worth noting the timeout issue seems to be happening consistently with Xcode latest on macOS, bears looking into.

@gwynne gwynne merged commit f86bf9c into main Dec 13, 2021
@gwynne gwynne deleted the correct-databaseerror-support branch December 13, 2021 18:23
@VaporBot
Copy link

These changes are now available in 4.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-patch Internal changes only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants