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

Incorrect temp_store PRAGMA value #66

Open
david-bouyssie opened this issue Sep 18, 2018 · 0 comments
Open

Incorrect temp_store PRAGMA value #66

david-bouyssie opened this issue Sep 18, 2018 · 0 comments

Comments

@david-bouyssie
Copy link
Contributor

In the mzdb_writer.cpp we initiate the mzDB schema and we set some PRAGMA for the current SQLite connection:
https://github.com/mzdb/pwiz-mzdb/blob/7310d1b87415c295e3128726cd0233e51003b9f9/pwiz_mzdb/mzdb/writer/mzdb_writer.cpp

The value set for the temp_store PRAGMA is 3 while accepted values are 0, 1 or 2:
https://www.sqlite.org/pragma.html#pragma_temp_store

I think we should put 2 instead of 3 to force in-memory TEMP store.

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

1 participant