Commit Graph

2641 Commits

Author SHA1 Message Date
4fd9f789e5 *: remove useless else (#31715)
ref pingcap/tidb#31716
2022-01-17 17:11:44 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
7e23a7d9b3 expression: fix invalid memory when use char_length in unistore (#31605)
close pingcap/tidb#31603
2022-01-12 18:49:42 +08:00
xhe
1ffd6c0738 sysvar: bypass validation for noop variables (#31566)
close pingcap/tidb#31538
2022-01-11 22:43:42 +08:00
706abd66ae expression: fix BuildCastCollationFunction (#31553)
close pingcap/tidb#31551
2022-01-11 21:59:43 +08:00
a8223c0bf1 expression: treat AllowedPacketOverflowed as err when enable strict sql mode and in insertStmt|updateStmt|deleteStmt and without ignore (#29962)
close pingcap/tidb#29708
2022-01-11 19:17:42 +08:00
60d1ee20c0 expression: use boolToInt64 to simplify code (#31517)
ref pingcap/tidb#28720
2022-01-11 18:51:42 +08:00
0c19f92741 encoding: refactor transform to avoid the misuse buffer (#31480)
close pingcap/tidb#31488
2022-01-10 12:13:41 +08:00
849b6ec0cb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31411)
ref pingcap/tidb#29517
2022-01-08 14:04:37 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +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
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
80527cbbc0 planner: do not cache the tableDual plan (#31290)
close pingcap/tidb#31280
2022-01-05 19:48:36 +08:00
397eb725ea expression: make some datetime functions' behavior consistent with MySQL (#31078)
close pingcap/tidb#30683
2022-01-05 16:22:36 +08:00
1a6564b98e expression: compatibility is changed (#30653)
close pingcap/tidb#19150
2022-01-05 12:54:36 +08:00
d9d89d69d1 expression: fix nil pointer dereference for case expression (#30479)
close pingcap/tidb#30245
2022-01-05 10:18:35 +08:00
5ea64e6e23 expression: change date add function return type (#28133)
close pingcap/tidb#27573
2021-12-31 19:01:51 +08:00
8c880d2251 expression, planner: skip isNullRejected check when contain outer not after PushDownNot (#31210)
close pingcap/tidb#20510
2021-12-31 14:37:51 +08:00
7f85091696 expression: pushdown substring/char_length to tikv (#30191)
close pingcap/tidb#31125
2021-12-31 00:07:50 +08:00
9b9a300485 expression: support lpad/rpad pushdown to tiflash (#31099)
* expression: support lpad/rpad pushdown to tiflash

Signed-off-by: guo-shaoge <shaoge1994@163.com>
2021-12-30 23:33:34 +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
a8ce4af9f8 expression: Fix incorrect behavior of greatest/least when mixed temporal type with others (#31037)
close pingcap/tidb#30264
2021-12-30 11:33:50 +08:00
fcfd8387bf expression: enable strcmp for tiflash (#30983) 2021-12-29 17:19:50 +08:00
61d13b561c encoding: skip utf8 charset validation in some cases (#31061)
close pingcap/tidb#31014
2021-12-28 17:51:49 +08:00
22cad97eb0 expression: support quarter pushdown to tiflash (#30704) 2021-12-28 16:03:49 +08:00
76aae0d5c5 planner: change predicateColumnCollector to columnStatsUsageCollector and collect histogram-needed columns (#30671) 2021-12-25 18:21:48 +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
d543b60464 parser: add IsValid() to Encoding to speed up string validation for UTF-8 (#30937)
close pingcap/tidb#30936
2021-12-22 18:19:48 +08:00
416617eb9c planner: fix wrong collation when rewrite in condition (#30492)
close pingcap/tidb#30486
2021-12-21 20:47:46 +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
87ab28ebb2 expression: wrap to_binary and from_binary for cast function's argument (#30706) 2021-12-20 20:11:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
e3c56b75ea executor: buildWindow cannot call typeInfer twice (#30773)
close pingcap/tidb#30402
2021-12-20 11:11:46 +08:00
24d970fc46 executor: improve SET sysvar=DEFAULT handling (#29680)
close pingcap/tidb#29670
2021-12-20 07:57:45 +08:00
8e11e0367f *: fix the flen type datetime for union/case-when/control-funcs (#30588) 2021-12-17 13:14:35 +08:00
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
ae5638cdcc planner: refine collation handling for between (#30793) 2021-12-16 17:56:36 +08:00
3fe92634a5 expression: fix enum type join binary get wrong result (#30445) 2021-12-15 16:52:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
e8577c7fa5 expression: make cast return error if cast binary literal to another character set (#30537) 2021-12-13 18:58:36 +08:00
c08f7fc65c *: show PK name when decoding the clustered index row key (#30623) 2021-12-10 21:53:58 +08:00
512373e673 planner: implement collecting predicate columns from logical plan (#29878) 2021-12-10 18:13:57 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
03b6a8e550 expression: clone repertoire when clone the scalar function (#30602) 2021-12-10 14:21:57 +08:00
ed384b2a09 expression: migrate test-infra to testify for integration_test.go (#30548) 2021-12-10 11:59:57 +08:00
8bc22b1aa1 expression,types: Adjusts UNIX_TIMESTAMP() for non-existing DST values (#28739) (#30405) 2021-12-09 16:57:58 +08:00