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

Fix exception in multithread environment #10

Merged
merged 1 commit into from
Mar 31, 2021
Merged

Fix exception in multithread environment #10

merged 1 commit into from
Mar 31, 2021

Conversation

yukota
Copy link
Contributor

@yukota yukota commented Mar 30, 2021

sqlite cursor can't share different thread context.
For this reason, Posuto does't share cursor by calling Posto()
But, __fetch_code does't use Posto() provide db.

fix #9

sqlite cursor can't share different thread context.
For this reason, Posuto does't share cursor by calling Posto()
But, __fetch_code does't use Posto() provide db.

fix #9
@polm
Copy link
Owner

polm commented Mar 31, 2021

Thanks, looks good to me!

@polm polm merged commit 0463aa8 into polm:master Mar 31, 2021
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.

Multi-threaded Environments向けの記法をしても、sqlite3.ProgrammingErrorが発生する
2 participants