Commit Graph

14 Commits

Author SHA1 Message Date
f8c96f1f92 plan, executor: build logical plan to check column name validation when doPrepare (#5116) 2017-11-16 13:49:55 +08:00
15212587e1 *: remove resolver.go (#4988) 2017-11-10 14:42:10 +08:00
e6f86e35d2 plan: build prepared statement plan in Optimize phase. (#4914)
When we build the `Execute` plan, the underlying plan is not built, so we don't know what the plan is before we execute it.
This PR move the plan building for prepared statement to optimizer, so we know what plan we are going to execute before we execute it.
2017-10-28 23:04:07 +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
a7aaa64c76 parser: parse error compatible (#4238) 2017-10-10 13:00:56 +08:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
78319c7530 *: reset statement context for prepared statements (#3413) 2017-06-07 10:06:32 +08:00
b4f20e6f0b util/testkit: refine testkit (#3177) 2017-04-29 23:20:49 +08:00
0864f17749 plan: handle int64 type when evaluate limit and count. (#2648)
Fix parameter mark limit for prepared statement.
2017-02-15 17:43:23 +08:00
1aa005190f executor: set text for execute prepared statement. (#2620) 2017-02-09 19:22:43 +08:00
d40e24ce46 *: in prepared statement limit/offset may be placeholder (#2364) 2017-01-03 14:52:14 +08:00
39a2c09542 executor_test: clean enviroment for each test. (#2025) 2016-11-18 16:45:13 +08:00
cbf024e8f7 *: clean code. (#1987) 2016-11-10 15:38:22 +08:00
685fb1b0c2 executor: split big test file into smaller files. (#1757)
One big test file makes it hard to locate a specific test case.
2016-09-22 21:55:24 +08:00