Commit Graph

17 Commits

Author SHA1 Message Date
01fdb6023c expression: fix Coercibility and Collation with json type (#31576)
close pingcap/tidb#31320, close pingcap/tidb#31541
2022-02-09 15:41:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
fa3328fc9c expression: fix greatest and least function with collation get wrong result (#31806)
close pingcap/tidb#31789
2022-01-20 11:25:45 +08:00
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
318030adef expression: migrate tests to testify (#29276) 2021-11-02 23:16:52 +08:00
4b6291f45c collation: change some builtin function to has ASCII repertoire (#29290) 2021-11-01 17:10:52 +08:00
b81296ff02 expression: migrate test-infra to testify for expression/collation_test.go (#28849) (#28965) 2021-10-27 13:40:49 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
32f96fef77 expression: make infer collation support the expressions with different charset (#27863) 2021-10-11 14:51:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
ba60cf5a69 charset: implement utf8_unicode_ci and utf8mb4_unicode_ci collation (#18776) 2020-08-27 23:20:48 +08:00
d355b82f1c expression: unicode_ci support when infer collation and charset information (#19142)
* add mix unicode_ci collation support

* comments change

* bug fix

* add test

* refactor illegal mix collation message

* fmt

* fix check

* fmt

* refactor infer collation

* refactor infer collation

* add charset info

* address comments

* return bin if something wrong

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-26 11:08:21 +08:00
6a49bb4a84 *: fix a bug which causes function return truncated result (#17101) 2020-05-12 12:54:35 +08:00
20703ee8a6 expression: return binary charset and collation if there is no string-type argument in DeriveCollationFromExprs (#15250) 2020-03-10 17:26:46 +08:00
1771fff928 expression: make field and findInSet support collation (#15100) 2020-03-04 18:12:53 +08:00
f2fa5c5fd5 expression: consider collations when comparing strings (#14913) 2020-02-25 15:06:37 +08:00