-
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
QUOTE(null) should return 'NULL' string instead of NULL value #11556
Comments
I will check this issue |
I looked into the definition here. but it's weird for mysql impl (or I can say it's wrong).
as you can see, the NULL IS NULL = true = 1 and according to the doc, the quote(NULL) should be NULL. so the value should be 1 instead of 0. I will compare with latest mysql and check in the community |
Aha, I got more information about this issue.
it's the upper case "NULL" instead of null.
|
@gaoxingliang I think doc say very clearly |
Yes. u r right. I confirmed. I will try to fix this issue. |
Bug Report
In doc:
quote(null) should return 'NULL' string, but tidb return NULL value instead.
in mysql:
In TiDB:
tidb-server -V
or runselect tidb_version();
on TiDB)?Mysql version is 5.7
The text was updated successfully, but these errors were encountered: