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

tidb_query: fix convert integer to duration #6459

Merged
merged 6 commits into from Jan 10, 2020
Merged

Conversation

@lonng
Copy link
Member

lonng commented Jan 10, 2020

Signed-off-by: Lonng heng@lonng.org

What have you changed?

  1. This PR fixes convert an integer to the duration while the integer greater than 10000000000, see: https://github.com/pingcap/tidb/blob/master/types/convert.go#L338:L338
  2. This PR delete some duplicated test cases.

What is the type of the changes?

  • Bugfix (a change which fixes an issue)

How is the PR tested?

  • Unit test
Signed-off-by: Lonng <heng@lonng.org>
lonng added 4 commits Jan 10, 2020
fix ci
Signed-off-by: Lonng <heng@lonng.org>
Signed-off-by: Lonng <heng@lonng.org>
@lonng

This comment has been minimized.

Copy link
Member Author

lonng commented Jan 10, 2020

/run-all-tests

Copy link
Contributor

andylokandy left a comment

LGTM

@lonng

This comment has been minimized.

Copy link
Member Author

lonng commented Jan 10, 2020

/merge

@sre-bot sre-bot added the S: CanMerge label Jan 10, 2020
@sre-bot

This comment has been minimized.

Copy link
Collaborator

sre-bot commented Jan 10, 2020

/run-all-tests

@sre-bot sre-bot merged commit 4aa395a into tikv:master Jan 10, 2020
6 checks passed
6 checks passed
DCO All commits are signed off!
Details
idc-jenkins-ci-tikv/integration-common-test Jenkins job succeeded.
Details
idc-jenkins-ci-tikv/integration-compatibility-test Jenkins job succeeded.
Details
idc-jenkins-ci-tikv/integration-copr-test Jenkins job succeeded.
Details
idc-jenkins-ci-tikv/integration-ddl-test Jenkins job succeeded.
Details
idc-jenkins-ci/test Jenkins job succeeded.
Details
@lonng lonng deleted the lonng:fix-i64-to-duration branch Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.