Fix an invalid default value cause bootstrap failed (#4916)#5332
Fix an invalid default value cause bootstrap failed (#4916)#5332ti-chi-bot wants to merge 1 commit intopingcap:release-5.2from
Conversation
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
[REVIEW NOTIFICATION] This pull request has not been approved. To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
This pull request is closed because its related version has closed automatic cherry-picking. https://prow.tidb.net/command-help#cherrypick |
This is an automated cherry-pick of #4916
What problem does this PR solve?
Issue Number: close #3157
Problem Summary:
What is changed and how it works?
when value is
0.0,value.convert<Int64>();raise a error.Convert it to
Stringfirst, and convert String to Int64 bystd::stoullstatic_cast<Int64>(std::stoull(value.convert<String>()));Check List
Tests
Side effects
Documentation
Release note