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

fixes issues when importing data from history #407

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

GitTomahawk
Copy link

fixes issues when importing data from history to sql:

  • use "insert ignore" and "update ignore" to prevent duplicate key issues
  • workaround multiline insert issue (allowing 1000 lines to be inserted at once)

use "insert ignore" to prevent duplicate key issues from dropping th whole query
This reverts commit aae44e9.
use INSERT IGNORE to prevent duplicate key issues
aded newline for multi-inserts
added IGNORE to Update
Increased maximum values per insert to prevent query split into multiple inserts (which caused errors)
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.

1 participant