aeceb22fa6
planner: rename general plan cache to non-prepared plan cache ( #39873 )
2022-12-13 17:16:13 +08:00
11a86a2df5
planner: make general plan cache support 'or' and 'in' ( #38047 )
...
ref pingcap/tidb#36598
2022-09-22 17:27:03 +08:00
4d918466ef
planner: support general plan cacheable checker ( #37636 )
2022-09-06 16:20:46 +08:00
6d8669e987
*: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() ( #33947 )
...
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
9bc9572754
planner: add the functional dependency for Datasource, proj, select, agg ( #33071 )
...
ref pingcap/tidb#29766
2022-03-17 20:02:30 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +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
db31b29d63
ddl: add the not expression check when creating a partition table ( #21497 )
2020-12-24 16:25:44 +08:00
c3c3063b66
expression: set IsBooleanFlag for boolean scalar functions ( #20706 )
2020-12-07 17:22:48 +08:00
6e3d2ecb48
expression: avoid unnecessary warnings/errors when folding constants in shortcut-able expressions ( #19797 )
2020-11-13 15:42:19 +08:00
c7a836b609
ddl: support create table with expression index ( #18125 )
...
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* add
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* save
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* Update ddl/ddl_api.go
Co-authored-by: Lynn <zimu_xia@126.com >
* 2
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-09-10 15:26:15 +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
8fa4ffdf4c
expression: mark row_count as un-cacheable ( #16654 )
2020-04-23 14:27:50 +08:00
692e0098b1
expression: avoid Order By constant expression error when pl… ( #16261 )
2020-04-21 20:04:23 +08:00
ca7082abbd
expression: mark random_bytes() as deferred function ( #16367 )
2020-04-15 13:33:27 +08:00
f5280c3cd4
expression: support sequence function unfold ( #15144 )
2020-03-09 19:43:46 +08:00
2354fad905
ddl: implement SQL functions allowed / blocked rules in genera… ( #12251 )
2019-10-10 12:37:25 +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
ad752611c8
expression: fix issue that function dayname is incompatible with Mysql when doing arithmetic ( #9975 )
2019-04-02 13:45:05 +08:00
9251724533
ddl, expression: disable nondeterministic function calls for generated columns ( #9239 )
2019-03-23 10:43:06 +08:00
778c3f4a5a
privilege, executor: add SET ROLE and CURRENT_ROLE support ( #9581 )
2019-03-21 13:11:27 +08:00
0081e17b02
expression, planner: support builtin function benchmark ( #9252 )
2019-02-13 19:53:28 +08:00
09a5c8028e
plan: derive col is not null from col op col conditions ( #8603 )
...
Check whether the `op` condition is null rejected, if yes, derive
`col is not null` for both sides of inner join, and for inner side
of outer join.
Also, remove duplicate conditions before pushing them down. Check
if the condition is mutable before removing duplicates.
For AntiSemiJoin, AntiLeftOuterSemiJoin and LeftOuterSemiJoin, do
not generate new `is not null` conditions.
2019-01-30 10:53:46 +08:00
6a06977dd1
plan: rewrite exact like expression to equal condition ( #9071 )
2019-01-28 19:12:30 +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
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
f33e04f486
expression: make sysdate unfoldable ( #7838 )
2018-10-08 16:47:45 +08:00
177c155161
plan: exclude IsNull from constant propagation ( #7835 )
2018-10-08 14:47:13 +08:00
0306bb0070
tidb: support a plan cache for prepared statements ( #3956 )
...
* tidb: support a plan cache for prepared statements
2017-10-24 00:55:51 -05:00
60626912a7
expression, plan: remove "foldable" from "baseBuiltinFunc" ( #4759 )
2017-10-12 04:03:54 -05:00