Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually support query logging #225

Merged
merged 2 commits into from
May 29, 2024
Merged

Actually support query logging #225

merged 2 commits into from
May 29, 2024

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented May 27, 2024

These changes are now available in 4.6.0

Now supports query logging with the same semantics as the other drivers.

Also cleans up some Sendable issues and fixes some warnings in the tests.

@gwynne gwynne added enhancement New feature or request semver-minor Contains new APIs labels May 27, 2024
@gwynne gwynne requested review from 0xTim, MahdiBM and ptoffy May 27, 2024 19:14
@@ -1,126 +1,125 @@
import FluentSQL
import MySQLKit
import MySQLNIO
@preconcurrency import MySQLNIO
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these not fixed now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No; I've been trying to minimize the changes I make to MySQLNIO (so as to further favor finally finishing the thrice-accursed (literally, not angrily) rewrite that's been in limbo for longer than the entire idea of Fluent 5 🤦‍♀️.

Copy link

codecov bot commented May 29, 2024

Codecov Report

Attention: Patch coverage is 96.59091% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 98.00%. Comparing base (4f07d7f) to head (40f6710).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #225      +/-   ##
==========================================
- Coverage   98.87%   98.00%   -0.88%     
==========================================
  Files           7        7              
  Lines         266      250      -16     
==========================================
- Hits          263      245      -18     
- Misses          3        5       +2     
Files Coverage Δ
...s/FluentMySQLDriver/FluentMySQLConfiguration.swift 98.75% <100.00%> (+0.10%) ⬆️
Sources/FluentMySQLDriver/FluentMySQLDriver.swift 100.00% <100.00%> (ø)
...ources/FluentMySQLDriver/MySQLError+Database.swift 100.00% <ø> (ø)
Sources/FluentMySQLDriver/MySQLRow+Database.swift 85.71% <90.90%> (-6.60%) ⬇️
...ources/FluentMySQLDriver/FluentMySQLDatabase.swift 97.80% <96.77%> (-2.20%) ⬇️

@gwynne gwynne merged commit 93e7254 into main May 29, 2024
20 of 21 checks passed
@gwynne gwynne deleted the support-query-log-level branch May 29, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-minor Contains new APIs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants