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

open as readonly #71

Closed
alext234 opened this issue Jan 19, 2017 · 4 comments
Closed

open as readonly #71

alext234 opened this issue Jan 19, 2017 · 4 comments

Comments

@alext234
Copy link

I am interested to use 1 sqlite database file shared between 2 programs, 1 as a writer and 1 as a reader. Sometimes I have the exception locked or busy thrown at the writer program.
Do you plan to support with flags as those from open_v2 here?
https://www.sqlite.org/c3ref/open.html

@aminroosta
Copy link
Collaborator

@alext234 please try #72, i think this should enable you to pass the parameters you want.

I'm not planning on merging this to master yet, not without a unit-test and some documentation.
If you are interested please post a sample code of which parameters you used for flags option.
Enough to give me an idea on how to write a unit test :-)

@mtissington
Copy link

I too would like to see the ability to pass the flags in and open the database as read only.

@aminroosta
Copy link
Collaborator

I think we need a uniform design for this & #77

@zauguin
Copy link
Collaborator

zauguin commented Feb 18, 2017

@aminroosta I tried to implement such a unified design with #77 in #93.
Tests and documentation are still missing.

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

No branches or pull requests

4 participants