75f6225948
expression, util/codec: fix wrongly eliminated conditions caused by HashCode() collision ( #30120 )
2021-11-25 19:33:51 +08:00
3d267514d5
expression: cast charset according to the function's resulting charset ( #29905 )
2021-11-24 17:07:50 +08:00
d711f18e0d
types/datum.go: casting zero to enum should not change value ( #29759 )
2021-11-22 18:29:49 +08:00
bdfd3f6974
*: refine CharsetAndCollation ( #29561 )
2021-11-12 17:41:05 +08:00
e27af5e04f
*: Replace the dbterror.ClassOptimizer.NewStd(mysql.ErrInternal) to a global constant. ( #29593 )
2021-11-12 13:19:06 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
32f96fef77
expression: make infer collation support the expressions with different charset ( #27863 )
2021-10-11 14:51:25 +08:00
17d2ae36d1
*: make sysvar tidb_enable_noop_funcs support a WARN mode ( #28443 )
2021-09-30 11:02:48 +08:00
e154b31e84
expression: fix enum cannot use index to update ( #27752 )
2021-09-02 20:42:14 +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
83181c6bcb
planner: steady expression index selection when having duplicate expressions ( #25826 )
2021-08-02 14:47:06 +08:00
22628ab1f5
planner: support using expression index when conditions are connected by or or not ( #25969 )
2021-07-07 14:11:29 +08:00
bd2553734b
expression: support enum pushdown ( #22686 )
2021-04-26 18:51:56 +08:00
d1cc4c6a99
planner: fix inappropriate null flag of null constants ( #23457 )
2021-03-23 15:40:50 +08:00
029eef87ed
planner, expression: fix error when using IN combined with subquery ( #22080 )
2021-01-05 16:30:33 +08:00
3eaa63d679
expression: Fix unexpected panic when using IF function. ( #21132 )
2020-12-14 17:02:55 +08:00
c3c3063b66
expression: set IsBooleanFlag for boolean scalar functions ( #20706 )
2020-12-07 17:22:48 +08:00
de75e604ff
*: differentiate types for user variables ( #18973 )
...
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com >
2020-11-17 17:03:41 +08:00
2f067c0542
*: redact arguments for Error ( #20436 )
2020-10-21 14:44:08 +08:00
3d4016fe46
*: change file mode to 0644 ( #20443 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-10-14 16:35:31 +08:00
f9e5a92857
expression: use %q replace \"%s\" ( #20043 )
2020-09-17 19:43:38 +08:00
c022fdcaeb
expression: avoid unnecessary warnings/errors when folding constants in control expr ( #19675 )
...
* reduce unnecessary warnings/errors in constrant fold
* update formate
* add commits
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-09 20:08:50 +08:00
6a49bb4a84
*: fix a bug which causes function return truncated result ( #17101 )
2020-05-12 12:54:35 +08:00
e58cef5718
expression,types: wrap ParseUint error with stack ( #15188 )
2020-03-09 14:28:45 +08:00
0ddfe0716f
*: fix datum's collation behavior to build correct logical ranges ( #14963 )
2020-03-05 22:34:46 +08:00
1a92dc07df
collation: fix wrong collation information used in expression calculation ( #15006 )
2020-03-02 17:30:04 +08:00
dbcf5fbcc8
planner: show cast type in EXPLAIN ( #14942 )
2020-02-26 16:36:35 +08:00
b64ad65636
planner: improve projection to keep order or keep index in some cases ( #14510 )
2020-02-26 14:02:36 +08:00
fe6ca65414
expression: implement the Coercibility() function ( #14739 )
2020-02-13 19:15:48 +08:00
465af00b46
*: use new registrable terror ( #14606 )
2020-02-06 16:40:26 +08:00
e5f350cd32
expression: fix NULL constants' FieldType of multiple arguments function ( #14571 )
...
Signed-off-by: Lonng <heng@lonng.org >
2020-02-04 15:27:17 +08:00
c46044f026
expression: optimize function IN using hashmap ( #13594 )
2020-01-31 19:58:53 +08:00
c36f83e1b4
expression,table: fix insert partitioned table bug when the time zone change ( #14370 )
2020-01-14 17:41:21 +08:00
0feafcf11c
expression: check ParamMarker in ConstItem when plan cache is enabled ( #14200 )
2020-01-06 20:54:39 +08:00
7de620055d
expression: support expression reverse evaluation framework ( #13738 )
2019-12-05 11:50:09 +08:00
5c18c5df97
type: add db prefix to function name for not exist error messages ( #11156 )
2019-09-10 11:20:19 +08:00
62f1a54680
expression: remove row-vec convertor and introduce Vectorized() to check if an expression supports vectorized evaluation explicitly ( #11884 )
2019-08-27 20:16:35 +08:00
6f76bbe1f7
Introduce individual vectorized evaluation methods for each type. ( #11815 )
2019-08-22 10:51:25 +08:00
d54f0a2bd4
expression: add vectorized evaluation methods to Expression ( #11530 )
2019-08-01 13:28:23 +08:00
a737d26e4f
*: add tidb_enable_noop_functions to default disable get_lock()/release_lock() ( #10987 )
...
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00
9d25a85bda
expression: support ConstItem() for expression ( #10004 )
2019-04-15 13:07:23 +08:00
dca815c1c5
expression: return error when doing ResolveIndices ( #8929 )
2019-01-15 14:34:06 +08:00
d9e02b76dd
expression: remove redundant "errors.Trace()" in "expression" package ( #8609 )
2018-12-07 12:20:31 +08:00
5374ff8935
expression,planner: support non-deterministic functions (e.g., now) in the plan cache ( #8105 )
2018-11-01 23:53:32 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
5a5aeb813a
expression, plan: no longer call expression.Clone in plan package except ResolveIndices ( #6866 )
2018-06-29 16:25:26 +08:00
f21483e6ed
expression: add Clone() for builtinFunc
2018-04-11 10:00:19 -05:00