Commit Graph

182 Commits

Author SHA1 Message Date
4e33a0f2eb expression: refine invalid char error msg for string conversion (#32199)
close pingcap/tidb#30444
2022-02-09 19:25:36 +08:00
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
59937273c5 planner: fix projection of generate column for indexLookup task (#31684)
close pingcap/tidb#31682
2022-01-28 16:09:14 +08:00
ec3ae9fc42 *: refine some tests related to the collation (#32000)
ref pingcap/tidb#31625
2022-01-27 11:51:13 +08:00
f2dba0e14e *: migrate some collation tests to explain test (#31993)
ref pingcap/tidb#31625
2022-01-26 19:32:46 +08:00
b2cb2e396b cmd/explaintest: migrate some collation tests (#31988)
ref pingcap/tidb#31625
2022-01-26 17:56:46 +08:00
843935b8bc cmd: fix explain test error checking (#31986)
ref pingcap/tidb#31985
2022-01-26 15:04:45 +08:00
4ae96872ff planner: do not use like to build range when new collation is enabled (#31278)
close pingcap/tidb#31174
2022-01-22 00:09:47 +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
c422a60c42 cmd/explain_test: migrate collation test and add more tests (#31626)
ref pingcap/tidb#31625
2022-01-18 17:29:44 +08:00
a8fa29b56d parser: make text return utf8 encoding string (#31457)
close pingcap/tidb#31228
2022-01-12 19:47:42 +08:00
706abd66ae expression: fix BuildCastCollationFunction (#31553)
close pingcap/tidb#31551
2022-01-11 21:59:43 +08:00
28c5074a74 cmd: make explain_test can test collation-related tests with new-collation disabled (#31385)
close pingcap/tidb#31384
2022-01-10 20:45:43 +08:00
946fa58418 server, types: rule out JSON types from new charset framework (#31388)
close pingcap/tidb#31366
2022-01-10 15:29:41 +08:00
a082abdc6f *: fix case-sensitivity issue with EQ/IN when query information_schema.columns (#31463)
ref pingcap/tidb#31481
2022-01-10 13:31:41 +08:00
0c19f92741 encoding: refactor transform to avoid the misuse buffer (#31480)
close pingcap/tidb#31488
2022-01-10 12:13:41 +08:00
e50ae867d6 expression: fix elt with gbk charset (#31346)
close pingcap/tidb#31331
2022-01-06 20:46:37 +08:00
5af7685c20 planner: don't handle collation in in expression if it contains a row function. (#31274)
close pingcap/tidb#31273, close pingcap/tidb#31300
2022-01-06 18:42:37 +08:00
f7cc15fe60 executor: fix CTE bug when used with Apply (#31256)
close pingcap/tidb#31255
2022-01-06 15:34:38 +08:00
6e75367ad0 collation: make gbk default collation to gbk_bin if new collation is not enabled (#31208)
close pingcap/tidb#31221
2022-01-04 15:48:35 +08:00
e3124ae813 util: fix build ranger's collation (#31226)
close pingcap/tidb#31216
2022-01-04 11:52:36 +08:00
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
55a38cb162 expression, cmd: let crc32() support gbk (#30900)
close pingcap/tidb#30898
2021-12-21 17:27:47 +08:00
f1e587704c expression: fix wrong retType for reverse function (#30829)
close pingcap/tidb#30809
2021-12-21 12:19:46 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
4069b10635 executor: add more testcases for index merge (#30497) 2021-12-16 14:54:36 +08:00
86ed4c415d planner: fix wrong subquery's coercibility (#30750) 2021-12-16 13:42:35 +08:00
083be6d859 expression: fix flen for timestamp_add (#30213) 2021-11-30 17:57:54 +08:00
b1ca2ebd60 expression: Support GBK for builtin function AesEncrypt. (#29946) 2021-11-30 01:01:52 +08:00
bccc21bd8b cmd, expression: fix convert binary string to gbk (#30004) 2021-11-26 13:19:51 +08:00
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
8e93dc5edb expression: fix flen and decimal for ceil, floor, truncate, round (#29923) 2021-11-22 18:01:49 +08:00
c835349972 table, parser: check for invalid GBK characters before insertion (#28814) 2021-11-22 13:29:49 +08:00
9ec688ebe8 expression, parser: support GBK for builtin function ord (#29527) 2021-11-18 14:33:47 +08:00
8bdac02523 expression: Support GBK for builtin function AesDecrypt (#29157) 2021-11-15 17:01:07 +08:00
5bece67a9b expression: support GBK for builtin function Compress (#29170) 2021-11-12 17:07:05 +08:00
7c1097feed cmd, expression, parser: support GBK for builtin function char() (#29543) 2021-11-12 15:31:06 +08:00
1d179552f4 mockstore: set FieldType.charset in coprocessor (#29646) 2021-11-11 17:53:06 +08:00
a14ad60987 expression: support GBK for builtin function SHA1/SHA2 (#29544) 2021-11-08 17:07:05 +08:00
9409d54d81 expression: support builtin func password for GBK (#29202) 2021-11-05 12:17:02 +08:00
9d9915b8a6 expression: support GBK for builtin function Decode and Encode (#29315) 2021-11-03 20:17:01 +08:00
ee2adfdc24 expression: Support GBK for builtin function MD5 (#29165) 2021-11-03 10:51:01 +08:00
088e68bee8 expression: support GBK charset for builtin function octet_length() (#29039) 2021-11-02 11:38:51 +08:00
ad85341857 charset: support builtin function convert (#28943) 2021-11-01 16:56:51 +08:00
9dc4630b47 *: make expression index as experimental feature (#28307) 2021-10-30 00:40:51 +08:00
8fb4ce573c expression: support GBK charset for builtin function ascii() (#29071) 2021-10-27 16:32:49 +08:00
836b10200b expression: support GBK charset for builtin function to_base64() (#29054) 2021-10-25 23:36:48 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
26ab066b59 expression: add builtin func length() for gbk (#29011) 2021-10-21 18:20:46 +08:00