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

[KATC] Set immutable option when opening sqlite db #1781

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

RebeccaMahany
Copy link
Contributor

Fixes the following:

error generating table: fetching data: querying /path/to/some/db.sqlite: running query: database is locked (5) (SQLITE_BUSY)

@RebeccaMahany RebeccaMahany changed the title Copy sqlite database to temp dir before querying [KATC] Copy sqlite database to temp dir before querying Jul 16, 2024
ee/katc/sqlite.go Outdated Show resolved Hide resolved
@RebeccaMahany RebeccaMahany changed the title [KATC] Copy sqlite database to temp dir before querying [KATC] Set immutable option when opening sqlite db Jul 16, 2024
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Jul 16, 2024
Merged via the queue into kolide:main with commit d0813b1 Jul 16, 2024
29 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/katc-firefox-copy-tmp branch July 16, 2024 21:52
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.

3 participants