Commit Graph

482 Commits

Author SHA1 Message Date
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
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +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
9eb1cafd66 build: cmd & test are code (#28903) 2021-10-20 18:24:42 +08:00
42001503cb expression, parser: support GBK charset for builtin function lower() (#28869) 2021-10-15 18:02:41 +08:00
ac9dcbb53f expression: support GBK charset for builtin function upper() (#28817) 2021-10-15 15:29:27 +08:00
582358c392 cmd/ddltest: batch setup/teardown (#28772) 2021-10-15 10:47:26 +08:00
e96100b5b5 expression: support GBK charset for builtin function hex() (#28305) 2021-10-13 15:23:28 +08:00
5cc6b816b4 cmd/ddltest: migrate test-infra to testify (#28423) 2021-10-12 12:07:25 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
62bc4d5b54 cmd, server: support system variable character_set_results (#27875) 2021-10-11 16:17:25 +08:00
f379c8bb5a cmd, ddl: fix license header (#27707) 2021-09-02 15:30:15 +08:00
afca7649fa planner: refine prefer-range-scan behavior (#27123) 2021-09-02 12:06:14 +08:00
46da3ba557 ddl: the truncate error message is not compatible with MySQL when modifying the column type (#27556) 2021-08-26 13:30:05 +08:00
9e248d9420 planner: correctly set StatsVersion of tablePlan in copTask (#27161) 2021-08-25 18:06:04 +08:00
90626b8a49 ddl, expression: fix some string functions' flen and refine error message for expression index (#27376)
* done

Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2021-08-20 21:13:58 +08:00
4e078d6315 util: use clone() to avoid reusing the same memory (#27372) 2021-08-19 18:18:02 +08:00
ed174286b8 expression: check type for virtual column use list (#27275) 2021-08-18 11:44:00 +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
5ae87cae85 types: fix fsp for datetime, time and timestamp (#27170) 2021-08-16 14:25:59 +08:00
4d5773c298 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26876) 2021-08-04 14:47:07 +08:00
dd5546dfd0 Revert "planner: fix the issue that UnionScan returns wrong results in dynamic mode" (#26853) 2021-08-03 19:21:06 +08:00
2745baad11 planner: fix the issue that UnionScan returns wrong results in dynamic mode (#26755) 2021-08-03 16:37:07 +08:00
0f32f3614d *: remove expression index out of experimental index (#26791) 2021-08-02 19:31:06 +08:00