Commit Graph

91 Commits

Author SHA1 Message Date
57beeef5e9 executor: dom.close() in test (#31984)
ref pingcap/tidb#31966
2022-01-26 18:26:45 +08:00
80527cbbc0 planner: do not cache the tableDual plan (#31290)
close pingcap/tidb#31280
2022-01-05 19:48:36 +08:00
3688609096 executor: fix prepare 'do 1' statement panic (#31142)
close pingcap/tidb#31141
2021-12-30 15:09:50 +08:00
57b2908957 planner: improve the bindSQL check for plan cache (#31054) 2021-12-28 15:28:20 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
62b07a6c92 *: migrate test-infra to testify for executor/prepared_test.go (#29861) 2021-11-18 15:05:47 +08:00
276721877c planner: generate PointGet plans for PlanCache when all conditions are EQ (#29859) 2021-11-17 16:53:47 +08:00
da6252e9a5 planner: fix the issue that some IndexJoin cannot use plan-cache (#29238) 2021-11-01 12:00:28 +08:00
83e559db0a planner: allow refineArgs for plan cache in some situations (#28944) 2021-10-29 18:09:49 +08:00
da39d755cb planner: forbid temporary table related plan cache when plan cache enable (#29210) 2021-10-28 21:14:49 +08:00
20023fe9ea planner: add more test cases for plan cache (#29175) 2021-10-28 19:04:50 +08:00
88f57113ce planner: add more test cases about plan-cache with varied operators (#29100) 2021-10-26 15:36:48 +08:00
82eda3a372 planner: add some test cases about pushed down operators with parameters when using plan-cache (#29065) 2021-10-26 11:38:48 +08:00
019ab3e751 planner: add more test cases for plan cache (#28840) 2021-10-25 17:23:41 +08:00
6d24f8cf4b planner: add an extra safe-guard selection upon DataSource to prevent wrong results caused by wrong rebuilt range when using plan-cache (#28976) 2021-10-21 04:12:45 +08:00
6c109c91f7 planner: forbid constant fold when plan cache enable (#28790) 2021-10-14 17:33:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
501e87ec44 planner: fix the issue that some PointGet plans generated in physical-stage cannot be cached (#28478) 2021-10-09 17:33:24 +08:00
091ae3bde0 planner: generate addition selection when plan cache enable (#28457) 2021-09-29 16:38:47 +08:00
b99620cf1c planner: add more unit tests for prepare plan cache (#28460) 2021-09-29 07:56:46 +08:00
3e2605acd5 planner: fix the issue that planner may cache invalid plans for joins in some cases (#28432) 2021-09-28 11:09:13 +08:00
abae1fbb3f expression: fix invalid Flen of decimal value when using plan cache (#28100) 2021-09-27 15:04:48 +08:00
7dbf7b31c5 test: fix data race of Kill (#27864) 2021-09-08 23:12:58 +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
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
50234d1c50 executor: skip TestPrepareStmtAfterIsolationReadChange when race enable (#24200) 2021-04-23 11:43:54 +08:00
aee5819a20 *: change @@tidb_enable_clustered_index to ON/OFF/INT_ONLY (#23529) 2021-03-26 15:59:24 +08:00
1ac53c546d planner: fix wrong PointGet / TableDual plan reused in plan cache (#23238) 2021-03-17 16:52:55 +08:00
8a490e96b5 parser: quote identifier with backquote when getting SQL digest (#22893) 2021-02-26 14:54:54 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
61e068a4d6 executor: throw error when prepared statement is execute, deallocate or prepare (#21962) 2020-12-23 17:55:59 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00
e102c12479 planner, config: Enable plan cache by default (#20416) 2020-10-29 23:00:26 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
17b7b5e815 *: add executor runtime info for explain for connection statement (#19183) 2020-09-27 20:44:11 +08:00
1c842919eb executor: fix hint not working in prepared statement (#19935) 2020-09-17 13:40:48 +08:00
d81150394f executor: fix cluster index encode wrong key in plan cached point get (#19033)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-10 14:44:14 +08:00
45780a5e7c executor: fix unstable leak test on TestPlanCacheClusterIndex (#19009)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-05 20:31:52 +08:00
ac581ee01e planner: support plan cache for cluster index (#18716) 2020-07-28 14:39:48 +08:00
64f0d4d211 planner: fix wrong prepare plan after isolation read changed (#16293) 2020-06-01 18:02:48 +08:00
8417036804 executor: Add "ignore_plan_cache" hint (#15588) 2020-03-30 11:04:43 +08:00
c9cc3b7e32 executor: support prepare DDL statements with no parameters (#10144) 2019-05-06 08:29:23 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
44f2c2c381 Makefile: make 'make check' faster (#8755)
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
2088cafaca types: restore the field length of a string typed parameter value to the original one (#8656) 2018-12-14 15:39:38 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
cbae4c6815 planner, executor: set memory size to MAXUint64 for prepare plan cache test (#8556) 2018-12-04 10:53:06 +08:00
c677187728 plan: support ? in Order By / Group By / Limit Offset clauses (#8206) 2018-12-03 21:48:54 +08:00
0ac0e154d9 planner, executor: fix PREPARE FROM @var_name (#8437) 2018-11-27 11:00:41 +08:00