Commit Graph

31 Commits

Author SHA1 Message Date
40a6be1a82 bindinfo: handle statement hints in bindings (#14248) 2020-01-07 14:18:46 +08:00
e755459788 bindinfo: change the way of generate hints from sql (#14095) 2020-01-02 14:31:39 +08:00
447cfbd067 bindinfo: fix bugs when capture and evolve plans (#14206) 2019-12-28 20:35:39 +08:00
635f2e1afd bindinfo: set default db for bindings correctly (#14077) 2019-12-27 18:02:09 +08:00
1335ffb6b7 *: support read consistency isolation level in the pessimistic transactions (#14087) 2019-12-24 21:24:39 +08:00
39a370ce83 bindinfo: support drop bindings of dropped table (#14071) 2019-12-19 14:51:46 +08:00
dddb85ca92 bindinfo: remove last semicolon of bind sqls (#14110) 2019-12-18 15:35:46 +08:00
b743208fd7 bindinfo, planner: fix sql bind when sql has symbol list (#13889) 2019-12-07 14:26:08 +08:00
518692c14c bindinfo: support evolve plan (#13465) 2019-11-22 17:09:37 +08:00
58733475da *: support capture evolve plan tasks (#13199) 2019-11-13 16:22:48 +08:00
343bb640a0 bindinfo: support drop specific binding (#13245) 2019-11-13 12:32:24 +08:00
5c5aa104d9 *: support using multiply bindings in planner (#13047) 2019-11-05 16:38:15 +08:00
36f0f37b40 expression, planner: remove some fields from `expression.Colum… (#12573) 2019-10-29 15:48:26 +08:00
bb2e349fea bindinfo: support multiply bindings for a sql (#12851) 2019-10-29 14:40:23 +08:00
740b7769b0 *: support automatically create sql baselines (#12434) 2019-10-17 14:16:48 +08:00
20823fbe18 *: add a system variable to control the usage of baselines (#12624) 2019-10-14 21:09:03 +08:00
86d9db7736 planner/cascades: support parameterized transformation/implementation rules (#12376)
* wrap the transformation/implementation rules in the struct of optimizer

* fix unit tests

* address comment

* minor change, keep the same code style

* add default singleton optimizer
2019-09-25 20:31:38 +08:00
15011b6c49 executor: new execution path for point execution within prepared plan cache (#11970) 2019-09-17 14:14:45 +08:00
dffe29355a *: not send tso request when point get with max tso (#11981) 2019-09-03 23:11:49 +08:00
3de23f0f7c planner/core: support query block hint (#11861) 2019-08-29 19:14:38 +09:00
f24866a40c *: support bindings for prepare statement (#11642) 2019-08-26 10:30:40 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
612936bbd4 *: Support LOCK/UNLOCK TABLES feature (#10343) 2019-06-18 15:38:04 +08:00
58d1bb8cb3 privilege: support authentication with active roles (#10125) 2019-04-23 10:05:53 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
0313cbbbde plugin: add audit plugin extension point (#9136) 2019-03-25 15:18:34 +08:00
7ee6811d97 planner: added support for error in visitInfo (#8855) 2019-01-04 15:15:18 +08:00
4b55ad0374 planner/core: support the optimize function for cascades planner (#8400) 2018-11-26 14:50:26 +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
dbdd806c0e *: add session variable "tidb_enable_cascades_planner" (#7879) 2018-10-12 13:21:51 +08:00