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

Improve the docs for opening the connection a bit #1155

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

thomcc
Copy link
Member

@thomcc thomcc commented Apr 4, 2022

I got some questions about use of NO_MUTEX by default. I've expanded the docs and fixed some issues with them.

I also updated the note about rust-postgres so that it matches the README.

@thomcc thomcc requested a review from gwenn April 4, 2022 01:13
@codecov
Copy link

codecov bot commented Apr 4, 2022

Codecov Report

Merging #1155 (a6f6553) into master (9699b4a) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1155      +/-   ##
==========================================
- Coverage   78.22%   78.18%   -0.04%     
==========================================
  Files          47       47              
  Lines        5929     5932       +3     
==========================================
  Hits         4638     4638              
- Misses       1291     1294       +3     
Impacted Files Coverage Δ
src/lib.rs 89.64% <ø> (-0.46%) ⬇️
src/statement.rs 91.97% <ø> (ø)

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 9699b4a...a6f6553. Read the comment docs.

/// Most of these are also the default settings for the C API, although
/// technically the default locking behavior is controlled by the flags used
/// when compiling SQLite -- rather than let it vary, we choose `NO_MUTEX`
/// because it's a fairly clear best choice for users this library.
Copy link
Collaborator

Choose a reason for hiding this comment

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

of this library

Copy link
Member Author

Choose a reason for hiding this comment

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

Crap, missed this comment before clicking land. Will fix.

@thomcc thomcc merged commit 46def6d into rusqlite:master Apr 4, 2022
@thomcc thomcc deleted the opendocs branch April 4, 2022 05:08
@thomcc thomcc mentioned this pull request Apr 4, 2022
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

2 participants