Commit Graph

1209 Commits

Author SHA1 Message Date
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
c8cb3c96c8 planner: update plan cache key and value (#36779)
ref pingcap/tidb#36598
2022-08-02 15:26:05 +08:00
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
cc2fcfceca ddl/schematracker: fix SetDDL will cause data race (#36768)
close pingcap/tidb#36766
2022-08-02 00:24:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
1fe666add6 *: upgrade staticcheck (#36745) 2022-08-01 11:58:05 +08:00
1cd8c31b1a session: fix auto commit variable change effect on transaction commit (#36631)
close pingcap/tidb#36581
2022-08-01 09:36:04 +08:00
be102a3d55 *: fix timestamp conversion (#36705)
close pingcap/tidb#36707
2022-07-29 19:05:12 +08:00
58dae93f44 ddl: wait until there is an owner in the cluster (#36664)
close pingcap/tidb#36659
2022-07-28 19:43:11 +08:00
6baea73277 *: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (#36660) 2022-07-28 19:23:11 +08:00
15009a7c4e *: clean code (#36655) 2022-07-28 15:09:11 +08:00
5c42aae575 upgrade: add a variable to make insert ddl job force to queue (#36614)
close pingcap/tidb#36601
2022-07-27 17:33:12 +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
9d0f5f72d3 *: enable pessimistic transaction on unistore (#36578) 2022-07-26 21:07:10 +08:00
b0c6c5afa7 *: cleanup default sysvar value usage (#36487)
close pingcap/tidb#36485
2022-07-26 19:51:10 +08:00
87c5b5068a executor: do not acqurie pessimistic lock for non-unique index keys (#36229)
close pingcap/tidb#36235
2022-07-26 13:15:10 +08:00
893a114abc parser: fix DDL job.Clone() (#36523)
close pingcap/tidb#36522
2022-07-25 18:31:10 +08:00
63145482b5 session_test: move unnecessary tests out of realtikvtest (#36482) 2022-07-25 12:39:10 +08:00