Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

[2.1] Cherry-pick #170 and #172 #174

Merged
merged 2 commits into from
Apr 28, 2019
Merged

Conversation

kennytm
Copy link
Collaborator

@kennytm kennytm commented Apr 27, 2019

What problem does this PR solve?

Cherry-picks #170 and #172 to release-2.1.

What is changed and how it works?

Check List

Tests

  • Unit test

Side effects

Related changes

* kv: fix handling of column default values

* if the column is AUTO_INCREMENT, fill in with row_id (assume it is
  missing for the entire table instead of just a few values)
* if the column has DEFAULT, fill in that value

* tests: ensure DEFAULT CURRENT_TIMESTAMP works
@kennytm kennytm added 2.1-cherry-pick The target branch is release-2.1 status/PTAL This PR is ready for review. Add this label back after committing new changes priority/normal type/cherry-pick Cherry-pick (backport) labels Apr 27, 2019
@kennytm
Copy link
Collaborator Author

kennytm commented Apr 27, 2019

/run-all-tests tidb=release-2.1 tikv=release-2.1 pd=release-2.1

@IANTHEREAL
Copy link
Collaborator

LGTM

@IANTHEREAL IANTHEREAL added status/LGT1 One reviewer already commented LGTM (LGTM1) and removed status/PTAL This PR is ready for review. Add this label back after committing new changes labels Apr 28, 2019
@IANTHEREAL IANTHEREAL merged commit 33a6660 into release-2.1 Apr 28, 2019
@IANTHEREAL IANTHEREAL deleted the kennytm/cherry-pick-170-172 branch April 28, 2019 07:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.1-cherry-pick The target branch is release-2.1 status/LGT1 One reviewer already commented LGTM (LGTM1) type/cherry-pick Cherry-pick (backport)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants