-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
bug: update ignore return incorrect result set #1616
Comments
[UPDATE]: With IGNORE, rows for which duplicate-key conflicts occur on a unique key value are not updated. Rows updated to values that would cause data conversion errors are updated to the closest valid values instead. When the option In tianmu, when we update a row, it does not do uniqueness check. therefore, the new data can be inserted without constraint check.
In
The update operations were done by a thread and which was put into a thread pool at
|
In this function, here, tianum still to update the index if its uniqueness is DUP_KEY.
The logical of CheckUniqueness is wierd.
|
The root cause: |
In Taking the following cases as an instance.
|
and for multi-keys:
|
Have you read the Contributing Guidelines on issues?
Please confirm if bug report does NOT exists already ?
Describe the problem
Expected behavior
How To Reproduce
No response
Environment
Are you interested in submitting a PR to solve the problem?
The text was updated successfully, but these errors were encountered: