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

enable multi-statement execute #110

Merged
merged 3 commits into from
Jun 29, 2018

Conversation

mcmcgrath13
Copy link
Contributor

Adds while loop to MySQL.execute! to enable multi-statement execution. This functionality is already enabled via the client_flag, but is not working (see Issue 104).

This implements the solution from the MySQL C API docs, but assumes that only non-returning statements are being executed. This is consistent with the current implementation and the docs.

@codecov-io
Copy link

codecov-io commented May 22, 2018

Codecov Report

❗ No coverage uploaded for pull request base (master@e35d13a). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #110   +/-   ##
=========================================
  Coverage          ?   31.62%           
=========================================
  Files             ?        8           
  Lines             ?      449           
  Branches          ?        0           
=========================================
  Hits              ?      142           
  Misses            ?      307           
  Partials          ?        0
Impacted Files Coverage Δ
src/MySQL.jl 58.13% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e35d13a...c9e0f72. Read the comment docs.

@mirestrepo
Copy link

@quinnj Is there any interest in incorporating this feature?

@quinnj quinnj merged commit e20f85d into JuliaDatabases:master Jun 29, 2018
@quinnj
Copy link
Member

quinnj commented Jun 29, 2018

Yes, this looks great. Thanks @mcmcgrath13!

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.

4 participants