We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tikv/components/tidb_query_datatype/src/expr/ctx.rs
Lines 13 to 20 in 1f0b9bf
The sql mode constants here are not consistent with TiDB's definition https://github.com/pingcap/tidb/blob/df5f05ff9bf49add2f08fffa00fe8336e7ffb73a/parser/mysql/const.go#L431-L436.
In fact, any value of the sql mode constant in TiKV is exactly twice as big as the one in TiDB.
Fortunately, due to another bug that TiDB doesn't set sql mode in DAGRequest(pingcap/tidb#38266), this bug was not triggered before.
DAGRequest
The text was updated successfully, but these errors were encountered:
copr: fix wrong sql mode constants (#13567)
9566107
close #13566 Signed-off-by: gengliqi <gengliqiii@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Successfully merging a pull request may close this issue.
Bug Report
tikv/components/tidb_query_datatype/src/expr/ctx.rs
Lines 13 to 20 in 1f0b9bf
The sql mode constants here are not consistent with TiDB's definition https://github.com/pingcap/tidb/blob/df5f05ff9bf49add2f08fffa00fe8336e7ffb73a/parser/mysql/const.go#L431-L436.
In fact, any value of the sql mode constant in TiKV is exactly twice as big as the one in TiDB.
Fortunately, due to another bug that TiDB doesn't set sql mode in
DAGRequest
(pingcap/tidb#38266), this bug was not triggered before.The text was updated successfully, but these errors were encountered: