Commit Graph

2599 Commits

Author SHA1 Message Date
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
05f7c6dc5b parser, expression: follow mysql, increase interval precedence (#30528) 2021-12-09 14:43:58 +08:00
d9ef107d39 *: replace compareDatum by compare, PR 11 (#30465) 2021-12-09 12:47:56 +08:00
e15e457f3e expression: change the log level of an confusing log from warn to debug (#30484) 2021-12-08 19:07:57 +08:00
2a1ea89fd4 expression: fix data race in the collationInfo (#30490) 2021-12-08 14:43:57 +08:00
daf8f3ef8e expression: fix data race in builtin_other_vec_generated_test.go (#30503) 2021-12-08 13:53:56 +08:00
e7aeae7eda expression: migrate test-infra to testify for constant_propagation_test.go (#30430) 2021-12-07 16:29:55 +08:00
6eb14e0e8d expression: make some unstable test serial (#30323) 2021-12-07 16:05:55 +08:00
376d5428cc *: Fix use of user identity in SHOW GRANTS + error messages (#30294) 2021-12-07 14:59:55 +08:00
cb88a4c51f executor: fix pipelined window invalid memory address (#30418) 2021-12-07 11:11:55 +08:00
889f001aef expression: migrate test-infra to testify for constant_fold_test.go (#30424) 2021-12-07 09:51:55 +08:00
3337405dd0 expression, parser: add built-in func is_uuid (#30318) 2021-12-07 02:47:55 +08:00
d3c6045f63 *: replace compareDatum by compare (#30421) 2021-12-06 20:41:56 +08:00
9c62e96633 expression: migrate test-infra to testify for flag_simplify_test.go (#30407) 2021-12-06 12:17:55 +08:00
28446605c2 expression: fix tidb can't alter table from other-type with null value to timestamp with NOT NULL attribute (#29664) 2021-12-03 15:57:54 +08:00
9aa756336e executor: avoid sum from avg overflow (#30010) 2021-12-03 11:09:55 +08:00
6475e8949c *: add warn log for stale read (#30340) 2021-12-02 17:59:54 +08:00
004382d020 expression: don't append null when param for char() is null (#30236) 2021-12-02 17:37:54 +08:00
4947cf1f59 expression: fix wrong result of greatest/least(mixed unsigned/signed int) (#30121) 2021-12-02 13:11:53 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
13b7a2d0ef ddl: disallow change columns from zero int to time (#25728) 2021-11-30 22:09:53 +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
3baa95ff38 planner: implement aggregation eliminate optimize trace (#30114) 2021-11-29 18:21:53 +08:00
eb7672fc48 *: replace compareDatum by compare and ignore warnings is collate is empty (#30105) 2021-11-29 17:53:53 +08:00
352811dfc4 types: fix wrong str_to_date() microseconds with leading zeros are not converted correctly (#30122) 2021-11-29 16:29:52 +08:00
3dc09f8ba6 expression: add ut config (#30156) 2021-11-26 19:51:51 +08:00
51b7a1915f expression: fix misuse of datumsToConstants in GBK test (#30072) 2021-11-26 14:13:51 +08:00
bccc21bd8b cmd, expression: fix convert binary string to gbk (#30004) 2021-11-26 13:19:51 +08:00
75f6225948 expression, util/codec: fix wrongly eliminated conditions caused by HashCode() collision (#30120) 2021-11-25 19:33:51 +08:00
e15b76875d expression : prevent function DATE_ADD/SUB_STRING_XXX pushed down to TiFlash (#30154) 2021-11-25 17:43:51 +08:00
8dc59e684a planner: make clear for MaybeOverOptimized4PlanCache (#29782) 2021-11-25 16:42:29 +08:00
b5ded48df9 *: replace compareDatum by compare and fix compare (#30090) 2021-11-24 17:31:51 +08:00
3d267514d5 expression: cast charset according to the function's resulting charset (#29905) 2021-11-24 17:07:50 +08:00
45836a6afe expression, sessionctx: support rand_seed1 and rand_seed2 sysvar (#29936) 2021-11-24 13:35:50 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
8858592f7e expression: fix wrong flen for CastAsString funtion (#29563) 2021-11-23 17:03:51 +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
d711f18e0d types/datum.go: casting zero to enum should not change value (#29759) 2021-11-22 18:29: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
bea1041845 expression: add builtin func bit_length() for gbk (#29531) 2021-11-22 10:37:49 +08:00
9ec688ebe8 expression, parser: support GBK for builtin function ord (#29527) 2021-11-18 14:33:47 +08:00