8000 fix(mysql): name mariadb among the clients run takes by colinhacks · Pull Request #82 · colinhacks/reylo · GitHub
[go: up one dir, main page]

Skip to content

fix(mysql): name mariadb among the clients run takes - #82

Merged
colinhacks merged 1 commit into
mainfrom
mariadb-accepted
Oct 23, 2026
Merged

colinhacks merged 1 commit into
mainfrom
mariadb-accepted

Conversation

@colinhacks
Copy link
Copy Markdown
Owner

When .run() refuses a client for a MySQL statement, its message lists the clients it takes. That list left out mariadb's pool and connection, which .run() takes through query(text, values), from mariadb's promise or callback API, and which the driver matrix measures on three versions. The list now names it, and a test checks the message.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 19:51
@vercel
vercel Bot commented Oct 23, 2026 •
Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
reylo Ready Ready Preview Oct 23, 2026 7:52pm UTC

Request Review

Copilot AI left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@pullfrog pullfrog Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

I reviewed the update to the MySQL entry of the accepted-clients message, and the test added for it.

  • accepted.mysql names mariadb: the TypeError from unsupported() now lists query(text, values) on mariadb's pool or connection, from its promise or callback API. This matches how .run() detects mariadb at src/execute.ts:342 (batch() plus query(), checked before execute()).
  • Test for the message: tests/execute.test.ts now passes a method-less object to a MySQL statement and checks that the refusal includes the mariadb wording.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@colinhacks
colinhacks merged commit e705606 into main Oct 23, 2026
6 checks passed
@colinhacks
colinhacks deleted the mariadb-accepted branch October 23, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0