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

SQLite WriteBehind insert into fix #97

Merged
merged 4 commits into from
Dec 8, 2021
Merged

SQLite WriteBehind insert into fix #97

merged 4 commits into from
Dec 8, 2021

Conversation

chayim
Copy link
Contributor

@chayim chayim commented Dec 8, 2021

This change fixes the UPSERT goal of the MySQL PR, for SQLite. Note, you can't use REPLACE INFO with SQLITE for our use case, as it has the unintended side-effect on tables with an auto-incrementing primary key, of deleting the row and creating a new row.

As a result we use the INSERT INTO with CONFLICT DO UPDATE SET, accordingly.

@lgtm-com
Copy link

lgtm-com bot commented Dec 8, 2021

This pull request introduces 1 alert when merging 6920723 into 0d1b88c - view on LGTM.com

new alerts:

  • 1 for Missing call to `__init__` during object initialization

@lgtm-com
Copy link

lgtm-com bot commented Dec 8, 2021

This pull request fixes 1 alert when merging 364374d into 0d1b88c - view on LGTM.com

fixed alerts:

  • 1 for Missing call to `__init__` during object initialization

@lgtm-com
Copy link

lgtm-com bot commented Dec 8, 2021

This pull request fixes 1 alert when merging 428ff06 into 0d1b88c - view on LGTM.com

fixed alerts:

  • 1 for Missing call to `__init__` during object initialization

@lgtm-com
Copy link

lgtm-com bot commented Dec 8, 2021

This pull request fixes 1 alert when merging cfdf2e1 into 0d1b88c - view on LGTM.com

fixed alerts:

  • 1 for Missing call to `__init__` during object initialization

@chayim chayim merged commit 38f4bf7 into master Dec 8, 2021
@chayim chayim deleted the feature-sqlitefix branch December 8, 2021 12:03
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.

2 participants