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

pragma_update fails with ExecuteReturnedResults #794

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

gwenn
Copy link
Collaborator

@gwenn gwenn commented Aug 17, 2020

Ideally, while executing a batch, we should fail if it contains a SELECT
statement. But currently there is no way to make the distinction between
a SELECT and a PRAGMA which both updates and returns a row.
So we fail only when extra_check feature is activated.

Ideally, while executing a batch, we should fail if it contains a SELECT
statement. But currently there is no way to make the distinction between
a SELECT and a PRAGMA which both updates and returns a row.
So we fail only when `extra_check` feature is activated.
@codecov
Copy link

codecov bot commented Aug 17, 2020

Codecov Report

Merging #794 into master will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #794      +/-   ##
==========================================
+ Coverage   76.36%   76.40%   +0.03%     
==========================================
  Files          46       46              
  Lines        5294     5298       +4     
==========================================
+ Hits         4043     4048       +5     
+ Misses       1251     1250       -1     
Impacted Files Coverage Δ
src/lib.rs 89.47% <100.00%> (+0.18%) ⬆️
src/pragma.rs 89.55% <100.00%> (+0.21%) ⬆️

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 0063db5...a4691db. Read the comment docs.

@gwenn gwenn merged commit da2d2e3 into rusqlite:master Aug 17, 2020
@gwenn gwenn deleted the fix_pragma_update branch August 17, 2020 17:57
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.

None yet

1 participant