Commit Graph

1228 Commits

Author SHA1 Message Date
1d11283384 sessionctx: set DefTiDBEnableRateLimitAction to false (#37811)
close pingcap/tidb#37810
2022-09-15 18:44:59 +08:00
c646842f29 sessionctx: Change default tidb_partition_prune_mode from static to dynamic (#37712)
close pingcap/tidb#37713
2022-09-14 20:00:59 +08:00
f0d8d47df5 telemetry: interval partitioning (#36486)
close pingcap/tidb#36525
2022-09-14 18:12:58 +08:00
663c06a071 session: fix regression of BenchmarkRangeColumnPartitionPruning (#37741)
close pingcap/tidb#37708
2022-09-09 17:40:56 +08:00
bb782fe0f3 *: small refactoring for metadata lock (#37648) 2022-09-08 16:26:56 +08:00
62480cf19b *: add telemetry support for account lock/unlock (#37344)
close pingcap/tidb#37324
2022-09-07 18:40:56 +08:00
47f44cae9d sessionctx/variable: turn off TiDBEnablePseudoForOutdatedStats by default (#36797)
ref pingcap/tidb#27601
2022-09-07 11:50:56 +08:00
c75969310d store: sets flagPreviousPresumeKNE after when a stmt finishes which sets Pre… (#37625)
ref pingcap/tidb#36579
2022-09-06 20:38:55 +08:00
58822f8859 planner: get plan from the general plan cache before optimization (#37634) 2022-09-06 16:58:39 +08:00
b2723bf8ff planner: replace simple LRU with plan cache LRU (#37423)
ref pingcap/tidb#36598
2022-09-05 13:32:55 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
c372adb7a8 planner: refactor PrepareExecutor (#37519)
ref pingcap/tidb#36598
2022-09-01 18:10:25 +08:00
ed7afe6663 sessionctx: enable clustered index by default (#37384) 2022-09-01 16:58:25 +08:00
6e582640d7 *: upgrade glangci-linter (#37413) 2022-09-01 12:14:24 +08:00
a2cfa5379b *: fix a bug found by jdbc_test (#37492)
close pingcap/tidb#37493
2022-08-31 14:14:24 +08:00
7bdb7b5705 planner: refactor some code path of execution-stmt (#37455)
ref pingcap/tidb#36598
2022-08-31 10:48:23 +08:00
44811452e5 session: fix data race in the TrxHistoryRecorder.OnTrxEnd (#37476)
close pingcap/tidb#37473
2022-08-30 20:06:23 +08:00
e8daf1ad7d session: fix data race in the TestInitMetaTable (#37464)
close pingcap/tidb#37463
2022-08-30 16:42:23 +08:00
a8f524b31b *: rename TemporaryTableAttachedInfoSchema (#37408) 2022-08-26 18:06:21 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
f5d3df3667 *: change integration.BeforeTest to integration.BeforeTestExternal to avoid skip tests (#37341)
close pingcap/tidb#37340
2022-08-25 14:58:21 +08:00
xhe
3a4e3eab83 session: handle nil store for plugins (#37321)
close pingcap/tidb#37319
2022-08-23 23:40:21 +08:00
6206b95002 planner: remove useless part for the preparedStmtExec (#37293) 2022-08-23 12:44:20 +08:00
8b5b724d8a bazel: enable announcerc (#37217) 2022-08-19 19:06:52 +08:00
44f684ec77 *: only create TemporaryTableAttachedInfoSchema if needed (#37196)
close pingcap/tidb#37195
2022-08-18 18:34:51 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +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
483183e5f2 table/tables: fix bug for jepsen test on cached table (#37020)
close pingcap/tidb#36885
2022-08-16 17:02:51 +08:00
f65948d8d5 planner: modify sysvar TiDBPrepPlanCacheSize scope (#37131)
ref pingcap/tidb#36598
2022-08-16 16:22:51 +08:00
e38c45cd8c *: save some WithLabelValues (#37106)
ref pingcap/tidb#36049
2022-08-16 14:48:51 +08:00
3d9a471446 executor: enable TiDBEnableWindowFunction in SystemVar (#37077)
close pingcap/tidb#35916, close pingcap/tidb#37045
2022-08-16 14:18:51 +08:00
25b63dfb59 planner: introduce new functions for the general statement in session interface (#37024)
ref pingcap/tidb#36598
2022-08-11 16:18:48 +08:00
b0d2ff1427 session: make BenchmarkCompileExecutePreparedStmt update to date (#36960)
close pingcap/tidb#36959
2022-08-11 15:32:48 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
e0c6240396 planner: introduce Session.CacheGeneralStmt for general plan cache (#37028)
close pingcap/tidb#36598
2022-08-11 12:02:48 +08:00
ba8e7cc78e planner: remove keyword prepared in plan cache backend (#37023)
ref pingcap/tidb#36598
2022-08-10 17:50:48 +08:00
f403e198c4 planner: handle PointPlan specially in execute statements (#36987)
close pingcap/tidb#36783
2022-08-09 21:36:48 +08:00
de18571b31 txn: Forbid alloc space every time for OptimisticTxnContextProvider (#36988)
close pingcap/tidb#36986
2022-08-09 18:42:48 +08:00
7d744b18e2 planner: remove execID in ExecuteStmt (#36967)
ref pingcap/tidb#36598
2022-08-09 14:10:47 +08:00
257c78764d test: fix race for SetDDL by moving ddl inject earlier (#36964)
close pingcap/tidb#36940
2022-08-09 10:36: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
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
5ef18981cc Revert "planner: refactor the IsolationReadEngines variable for plan cache" (#36873) 2022-08-04 10:30:06 +08:00
3847d9e56f planner: refactor the IsolationReadEngines variable for plan cache (#36770)
ref pingcap/tidb#36598
2022-08-03 19:44:05 +08:00
1a0c92b7dd *: enable makezero for bazel nogo (#36842)
close pingcap/tidb#36850
2022-08-03 19:30:06 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
97f66c3fec *: use tidb version to decide insert internal DDL into queue or table (#36782)
close pingcap/tidb#36761
2022-08-02 21:12:06 +08:00
c060208b2f *: move config file option oom-use-tmp-storage to sysvar (#36679)
ref pingcap/tidb#33769
2022-08-02 16:58:05 +08:00
xhe
b1edc33fc1 session: fix multiple domain creation racing in domap (#36792)
close pingcap/tidb#36791
2022-08-02 16:12:06 +08:00