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

builtin: add utc-time built-in function #2903

Closed
wants to merge 4 commits into from
Closed

builtin: add utc-time built-in function #2903

wants to merge 4 commits into from

Conversation

keviswang
Copy link

No description provided.

@zimulala zimulala added the contribution This PR is from a community contributor. label Mar 21, 2017
Copy link
Member

@coocood coocood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are unrelated codes.

@@ -149,6 +149,7 @@ func (ts *testTypeInferrerSuite) TestInferType(c *C) {
{"curtime(2)", mysql.TypeDuration, charset.CharsetBin},
{"current_timestamp()", mysql.TypeDatetime, charset.CharsetBin},
{"utc_timestamp()", mysql.TypeDatetime, charset.CharsetBin},
{"utc_time()", mysql.TypeDatetime, charset.CharsetBin},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The returned type is not mysql.TypeDatetime.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix this. It is TypeDuration.

@shenli
Copy link
Member

shenli commented Mar 22, 2017

@keviswang CI failed.

@shenli
Copy link
Member

shenli commented Apr 5, 2017

@keviswang Any update?

@XuHuaiyu
Copy link
Contributor

@keviswang
hi, any updates?

@coocood
Copy link
Member

coocood commented Apr 27, 2017

@keviswang
I'm sorry this function has been implemented already.

@coocood coocood closed this Apr 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants