Commit Graph

394 Commits

Author SHA1 Message Date
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
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +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
5ea64e6e23 expression: change date add function return type (#28133)
close pingcap/tidb#27573
2021-12-31 19:01:51 +08:00
7f85091696 expression: pushdown substring/char_length to tikv (#30191)
close pingcap/tidb#31125
2021-12-31 00:07:50 +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
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +08:00
df58e6c36c execution: refine precision of cast as decimal in agg func (#30805) 2021-12-23 16:53:47 +08:00
7121bf0289 planner: fix index merge plan when expr cannot be pushed to tikv (#30341)
close pingcap/tidb#30200
2021-12-23 13:39: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
64f730955d cmd/explaintest: fix wrong result comparison for explain test (#30717) 2021-12-15 17:04:34 +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
e47f0f5e80 expression: use encode buffer in to_binary, warp encrypt function with to_binary (#29950) 2021-11-22 19:33:49 +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
6c07c5af81 explaintest: set the timezone to remove tz dependency (#29476) (#29624) 2021-11-18 11:51:48 +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
4b4984e6cc planner: remove duplicate predicates in the Selection operator (#28317) 2021-10-28 15:18:49 +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