Commit Graph

49 Commits

Author SHA1 Message Date
bca433fcab planner: remove pickFromBucket field in LRUPlanCache (#40668)
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
ee6d291f4e planner: fix prepare explain index out of range bug (#40568)
close pingcap/tidb#38323
2023-01-16 11:25:48 +08:00
e2a14ce0f2 planner: unify the behavior of prepare/execute limit to mysql (#40360)
ref pingcap/tidb#40219
2023-01-10 11:14:23 +08:00
9e8a21c460 planner: check the ignore-plan-cache hint in insert-stmt (#40080)
ref pingcap/tidb#39717, close pingcap/tidb#40079
2022-12-21 20:40:55 +08:00
510003d1f6 planner: add switch for plan cache memory trace (#38824)
ref pingcap/tidb#37632
2022-11-03 15:26:00 +08:00
805ca3e9c1 *: close resultsets (#38146) 2022-09-26 11:25:43 +08:00
b2723bf8ff planner: replace simple LRU with plan cache LRU (#37423)
ref pingcap/tidb#36598
2022-09-05 13:32:55 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
5dc3e58485 planner: introduce the general plan cache (#37150)
ref pingcap/tidb#36598
2022-08-16 20:24:51 +08:00
b705a13c7b planner: unify the Compile and CompileExecStmt functions (#37065)
ref pingcap/tidb#36598
2022-08-16 18:36:51 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
244b353a11 planner: support session level for the variable tidb_enable_prepared_plan_cache (#36923)
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
16f143f875 planner: refactor the execute path when using plan cache (#36587)
ref pingcap/tidb#36598
2022-07-27 12:31:10 +08:00
2df6be5282 *: Make the code cleaner in session.ExecutePreparedStmt (#35943)
close pingcap/tidb#35925
2022-07-06 12:51:02 +08:00
5b305c34f8 txn: manage the initialization of RCCheckTS by transaction context provider (#35554)
close pingcap/tidb#35497
2022-06-29 16:14:39 +08:00
1fac141f35 *: close the resource on error to aovid resource leak (#34837)
close pingcap/tidb#34666, ref pingcap/tidb#34849
2022-05-30 18:00:27 +08:00
dbd8f15302 *: Add support for execute prepared statement to staleread.Processor (#32941) 2022-04-07 14:33:19 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
d0e8a53f55 planner: update the structure of the plan cache key (#32665)
ref pingcap/tidb#31056
2022-03-07 18:01:50 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
2e79433b71 test: merge executor's serial tests to other tests (#30711) 2021-12-15 19:36:35 +08:00
8c357a1d76 seqtest: migrate test-infra testify (#28298) 2021-09-29 16:04:47 +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
a8adc4cf8e *: fix many leaks of the test case (#26909) 2021-08-06 13:55:12 +08:00
xhe
9189ec66ac *: stale reads compatible with prepare (#25156) 2021-06-11 19:32:35 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
a90e4f2b29 telemetry: fix prepare stmt and copr cache (#23526) 2021-03-25 16:15:15 +08:00
9f465d788e planner: incorrect results returned when executing a prepared point-get update meets nondeterministic function. (#22067) (#23455) 2021-03-22 19:57:37 +08:00
1ac53c546d planner: fix wrong PointGet / TableDual plan reused in plan cache (#23238) 2021-03-17 16:52:55 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
0370fbf6a3 types: Regard TypeNewDecimal as not a hasVariantFieldLength type. (#21849) 2020-12-23 12:59:48 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
6831e487a8 Issue 19371 - Prepare statement with @Var (uppercase in var name fix) (#19373) 2020-08-23 21:34:47 +08:00
57e43bdea3 planner: workaround the panic of command EXECUTE when printing an expensive query log (#19316) 2020-08-20 17:45:47 +08:00
f139821c82 session,executor: tiny clean up the runStmt function (#17911)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-06-11 22:11:58 +08:00
9ae471c0ee *: fix data race for plan cache (#14756) 2020-03-03 16:03:09 +08:00
a582640dc3 executor: make point updates go short path (#12243) 2019-09-27 18:36:01 +08:00
abbca5375e *: add trace support for subquery (#11182)
Test pass, auto merge by Bot
2019-07-24 19:03:47 +08:00
cb23b524ac *: directly save prepare execute args as datums in binary proto (#10884) 2019-07-02 13:49:06 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
e59539505a plan, executor: pre with labels for metrics in plan/executor package (#10231) 2019-04-22 21:50:59 +08:00
36176be874 *: improve syntax error code & message compatibility (#9103) 2019-01-23 10:46:29 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00
39e1dfe4c2 parser: better error message #133 (#8950) 2019-01-07 12:14:46 +08:00
7ffdbcad6c executor: add test case for execute prepare_stmt using binary protocol (#8825) 2018-12-26 13:49:03 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00