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

Support MySQL 5.7 #3

Merged
merged 3 commits into from
May 2, 2024
Merged

Support MySQL 5.7 #3

merged 3 commits into from
May 2, 2024

Conversation

gwynne
Copy link
Member

@gwynne gwynne commented Apr 28, 2024

MySQL before 8.0 (why is anyone still using 5.7? 😭) didn't support SKIP LOCKED. Also has a temporary fix for a bug in PostgresKit.

@gwynne gwynne requested a review from ptoffy April 28, 2024 22:40
Copy link

codecov bot commented Apr 28, 2024

Codecov Report

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

Project coverage is 77.72%. Comparing base (199bd0e) to head (63f9ccb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
+ Coverage   72.72%   77.72%   +4.99%     
==========================================
  Files           6        6              
  Lines         176      193      +17     
==========================================
+ Hits          128      150      +22     
+ Misses         48       43       -5     
Files Coverage Δ
...ources/QueuesFluentDriver/FluentQueuesDriver.swift 95.23% <ø> (+23.80%) ⬆️
...ources/QueuesFluentDriver/SQLKit+Convenience.swift 68.42% <ø> (+6.88%) ⬆️
Sources/QueuesFluentDriver/FluentQueue.swift 72.83% <52.63%> (-6.53%) ⬇️

... and 1 file with indirect coverage changes

@gwynne gwynne force-pushed the support-old-mysql branch from 9dd72f1 to 63f9ccb Compare May 2, 2024 08:54
Copy link
Member

@ptoffy ptoffy left a comment

Choose a reason for hiding this comment

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

Minor thing but LGTM

@@ -35,7 +35,7 @@ public struct FluentQueuesDriver: QueuesDriver {
public func shutdown() {}
}

private struct FailingQueue: Queue {
/*private*/ struct FailingQueue: Queue {
Copy link
Member

@ptoffy ptoffy May 2, 2024

Choose a reason for hiding this comment

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

Suggested change
/*private*/ struct FailingQueue: Queue {
struct FailingQueue: Queue {

@gwynne gwynne merged commit 5b76c5f into main May 2, 2024
12 checks passed
@gwynne gwynne deleted the support-old-mysql branch May 2, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants