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

executor: fix a bug of 'insert on duplicate update' statement on partitioned table #11204

Merged
merged 3 commits into from
Jul 11, 2019

Commits on Jul 11, 2019

  1. executor: fix a bug of 'insert on duplicate update' statement on part…

    …itioned table
    
    In this statement: insert into t1 set a=1,b=1 on duplicate key update a=1,b=1
    Batch checker find a=1,b=1 is duplicated, then in the "on duplicate update" step,
    it use non-partitioned table to get the old row, which is a bug.
    getOldRow returns this error: (1105, u'can not be duplicated row, due to old row not found. handle 1 not found')
    tiancaiamao committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    434df76 View commit details
    Browse the repository at this point in the history
  2. fix a data race

    tiancaiamao committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    bdae5b0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a8f98ee View commit details
    Browse the repository at this point in the history