-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
parser, evaluator: support mysql builtin functions ln(), log(), log2(), log10() #2258
Conversation
} | ||
|
||
if x <= 0 { | ||
d.SetNull() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d
is null by default, we don't need to call SetNull
, just return will do.
@hamo |
Good job! Please also add ln, log, log2, log10 to this table: Line 79 in 893a157
|
PTAL @tiancaiamao @coocood |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@hamo Thank your very much! |
basic support for mysql builtin functions ln(), log(), log2() and log10()
This change is