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

fix immediate parameter error in dbplyr::dbExecute #231

Merged
merged 2 commits into from
Oct 10, 2023
Merged

Conversation

kongdd
Copy link
Contributor

@kongdd kongdd commented Oct 10, 2023

Because dbplyr::dbExecute has an additional parameter immediate, which will further pass to dbSendQuery, and lead to RMySQL broken.

I added ... to dbSendQuery.MySQLConnection, which will ignore immediate and any other irrelevant parameters, and make RMySQL in dbplyr alive again.

Hope this PR could be accepted. Thanks.
https://github.com/tidyverse/dbplyr/blob/1e48cfaf795f9101792567bc68ce7d24a19db9d5/R/rows.R#L767

@kongdd
Copy link
Contributor Author

kongdd commented Oct 10, 2023

This PR, plus tidyverse/dbplyr#1376, can solve the issue of #230, dbplyr operations not work for RMySQL backend.

@jeroen
Copy link
Member

jeroen commented Oct 10, 2023

The CI fails because the new parameter is not documented.

@kongdd
Copy link
Contributor Author

kongdd commented Oct 10, 2023

Thanks for your reminder. Not in office now, I will fix it tomorrow.

@jeroen jeroen merged commit 307f22e into r-dbi:main Oct 10, 2023
8 checks passed
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