Commit Graph

512 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
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11: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
9ad00962f6 test: merge serial tests in cmd, planner, server, util (#31003) 2021-12-24 20:21:53 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +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
b585bf93cf *: skip mysql client goroutine leak detection in integration ddl (#30467) 2021-12-07 20:07:56 +08:00
dfd7157637 util, cmd: remove unused filesort (#30438) 2021-12-06 17:11:56 +08:00
ac69c607e9 *: fix goroutine leak in ddl intergration test (#30369) 2021-12-03 14:29:54 +08:00
e97e8c0f23 ddltest: refactor logutil.InitLogger in ddltest to avoid data race (#30299) 2021-12-01 16:13:54 +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
4fad89c46b ddl, cmd: reorganize test cases in 'cmd/ddltest', delete TestCommitWhenSchemaChanged case, move TestForIssue24621 to ddl/column_type_change_test.go (#29870) 2021-11-18 15:57:47 +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