Commit Graph

13 Commits

Author SHA1 Message Date
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
H
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