Commit Graph

25 Commits

Author SHA1 Message Date
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
c95d42a537 expression, session: handle CASE WHEN specially when folding constant during outerJoin Simplification (#11105)
Test pass, auto merge by Bot
2019-07-24 19:41:17 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
e13181f8a7 planner: fix stack overflow caused by folding constant (#10174) 2019-04-18 15:00:54 +08:00
ba26012231 expression: using pingcap/log and unify the log format (#9507) 2019-03-14 19:05:27 +08:00
0ffb2f612c expression: refactor constant folding for IF&IFNULL (#9094) 2019-02-19 11:41:59 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
1c165df39b expression: maintain DeferredExpr in aggressive constant folding. (#7915) 2018-10-17 13:34:19 +08:00
7b4686d8c2 expression, plan: aggressive constant fold for null parameter expression to simplify outer join (#7696) 2018-09-23 19:46:52 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
66c41128ca expression: improve constant folding of UDF if & ifnull (#6677) 2018-06-07 11:38:57 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +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
e11c4fbaad expression, plan: improve fold constant (#4721)
* improve fold constant

* remove useless code

* remove useless argument

* address comment
2017-10-09 17:43:13 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
f0aad43fec expression: change isDeterministic to canBeFolded (#4393) 2017-08-31 20:35:13 +08:00
93b7aa285a expression: rewrite builtin function: HOUR, MINUTE, SECOND, MICROSECOND (#4183) 2017-08-16 13:36:07 +08:00
006436a14a expression: use isDeterministic interface. (#2570) 2017-01-30 15:42:45 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
a28ab3eb73 *: add GetArgs interface (#2343) 2016-12-29 19:10:01 +08:00
453a95ce8c *: merge packages of evaluator and expression. (#2322) 2016-12-26 12:35:29 +08:00
0b828d46f8 *: add context in baseplan, extract constant folder. (#2135) 2016-12-01 00:17:55 +08:00