-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Some built-in funcs that are not consistent with MySQL when meet specific parameter types #5966
Comments
other cases: SELECT ASCII(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT ASCII(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Char_Length(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Char_Length(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Character_Length(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Character_Length(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_bool_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_datetime_6_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_datetime_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_decimal_10_5_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_decimal_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_double_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_float_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_int_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Day(`col_tinyint_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Exp(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT From_Base64(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT IsNull(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT IsNull(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT LTrim(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT LTrim(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT LTrim(`col_time_6_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT LTrim(`col_time_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Length(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Length(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Oct(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Ord(`col_bit_1_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Ord(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc`
SELECT Random_Bytes(`pk`) FROM `table5_utf8_bin_int_autoinc`
SELECT Unhex(`col_set_utf8_key`) FROM `table5_utf8_bin_int_autoinc` |
@XuHuaiyu When I try the first one |
@colinback Thank you for your feedback. |
@XuHuaiyu I mean if the order is ignored, |
@colinback Yes |
@colinback I'll try to delete the order inconsistent sqls, and re-upload sql.txt, |
@XuHuaiyu Sorry I do not notice your last response. I can check your re-uploaded sql.txt this weekend. |
PTAL @XuHuaiyu |
@colinback Yes, It's lot of work to do, and we really appreciate for your help ! |
@zz-jason now I can make I'm going to post the difference in the sql.txt. |
@zz-jason @XuHuaiyu I tried to get the a difference list not considering the order using mysql-connector-python. Here is the first part. diff.txt Then I have utf8 problem when execute fetchall() for this query: SELECT Concat(
I get stuck here and do you have any suggestion? BTW, @XuHuaiyu I updated PR #6316 one week ago. Would you help to review again? Thank you! |
The results of sql list in the .txt file are not totally consistent with MySQL.
sql.txt
The text was updated successfully, but these errors were encountered: