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) #11231

Merged

Commits on Jul 12, 2019

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

    …itioned table (pingcap#11204)
    
    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 uses the 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 12, 2019
    Configuration menu
    Copy the full SHA
    6cbbcea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3898880 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2019

  1. Configuration menu
    Copy the full SHA
    ee33c46 View commit details
    Browse the repository at this point in the history