Commit Graph

146 Commits

Author SHA1 Message Date
d0e775dab0 planner: rename session plan cache interface (#54102)
ref pingcap/tidb#54057
2024-06-19 07:34:17 +00:00
dfa6b7cfeb txn: do not create hook closure if it is already set (#53764)
close pingcap/tidb#53763
2024-06-18 12:40:17 +00:00
9906339471 planner: fix the issue that statement-level hints in sub-queries of Insert/Replace can not take effect (#54083)
close pingcap/tidb#53834
2024-06-18 11:02:47 +00:00
00eafc0933 planner: refactor a few code of plan cache (#54075)
ref pingcap/tidb#54057
2024-06-18 07:22:23 +00:00
1870d5f098 ddl: manage job lifecycle in worker (#53747)
ref pingcap/tidb#53246
2024-06-07 07:56:58 +00:00
d1b8c5b4f1 ddl: refine fatal log when upgrade failed because of tidb_enable_dist_task (#53392) 2024-05-22 02:23:45 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +00:00
125829c452 session: set sql security of tidb_mdl_view to 'invoker' (#53265)
close pingcap/tidb#53292
2024-05-16 11:13:20 +00:00
4538a216d3 ddl: add owner_id field to tidb_mdl_info to avoid unexpected writes (#53234)
close pingcap/tidb#53073
2024-05-15 11:43:13 +00:00
f0af7766a2 stmtctx, context: remove the redundant implementation of warnings/extraWarnings in statement context (#52862)
close pingcap/tidb#52848
2024-05-15 07:13:12 +00:00
b1818cd05f *: global index support admin check table | index (#53156)
ref pingcap/tidb#52897, close pingcap/tidb#53019
2024-05-13 08:07:11 +00:00
af825ac7d8 ddl,mdl: fix the issue that the table_ids overlap regex is not correct (#52879)
close pingcap/tidb#52758
2024-05-11 04:29:39 +00:00
49f09fef57 statistics: support adaptive sync load concurrency (#53142)
close pingcap/tidb#53157
2024-05-10 11:22:09 +00:00
0f0418fb4a expression: change ExprCtxExtendedImpl to SessionExprContext (#52839)
close pingcap/tidb#52838
2024-04-29 12:43:28 +00:00
024fdd2a23 txn: handle errors returned from Flush (#52890)
close pingcap/tidb#52889
2024-04-28 09:16:34 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
d626b6adf0 disttask: fix scope can't set different value (#52627)
close pingcap/tidb#52441
2024-04-26 07:19:42 +00:00
f383e0e685 ddl: add some comments to help readability (#52825) 2024-04-24 08:33:18 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
cfbabfa705 stmtctx: use a standalone RangeFallbackHandler (#52738)
close pingcap/tidb#52737
2024-04-22 13:04:39 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
224ae15478 *: improve log about stale-read query (#52494)
close pingcap/tidb#52492
2024-04-15 07:48:06 +00:00
7308ff1b10 disttask: enable on default (#52401)
ref pingcap/tidb#52441
2024-04-12 03:51:23 +00:00
da0de56204 expression: BuildContext read location from EvalContext instead of SessionVars (#52451)
ref pingcap/tidb#52366
2024-04-11 08:09:22 +00:00
6cca89c794 executor, planner: add a smaller context for ToPB method (#52369)
close pingcap/tidb#52368
2024-04-10 05:31:51 +00:00
12833e8278 executor, planner: minimize the context used by the ranger package (#52363)
close pingcap/tidb#52362
2024-04-09 10:57:21 +00:00
1905e8973c expression: add some methods in BuildContext to read fields in SessionVars before (#52367)
close pingcap/tidb#52366
2024-04-09 02:39:20 +00:00
c39d79fca5 txn: set txn options in txn provider which avoid data race (#52304)
ref pingcap/tidb#50215
2024-04-08 09:04:50 +00:00
62d6f4737b planner: move fields from ast.Prepared to planner.PlanCacheStmt (#52373)
ref pingcap/tidb#51407
2024-04-07 08:30:20 +00:00
xhe
8f985c70ae *: additional test for redact log and a fix (#52359)
close pingcap/tidb#52364
2024-04-07 05:31:49 +00:00
7c16a45118 txn: produce warning for Pipelined DML when falling back because of tidb_constraint_check_in_place (#51923)
ref pingcap/tidb#50215
2024-04-02 12:40:47 +00:00
f7d66f4913 distsql: use a more accurate type of the context of distsql (#51618)
close pingcap/tidb#51617
2024-04-01 08:27:16 +00:00
422ae46b6e lightning/br: move some common code into outer pkg (#52191)
ref pingcap/tidb#52182
2024-03-29 07:03:55 +00:00
xhe
71985253a9 admintest: additional redaction test (#52158)
ref pingcap/tidb#51306
2024-03-29 02:57:49 +00:00
bd17acde8c infoschema: introduce MetaOnlyInfoSchema to provide meta only information schema (#52070)
close pingcap/tidb#52072
2024-03-26 10:20:17 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
f23c6fce40 txn: fix race in p-dml caused by Transaction.SetOption running with background flushing (#51913)
ref pingcap/tidb#50215, close pingcap/tidb#52028
2024-03-22 10:36:44 +00:00
9b6db9d47a txn: fix the warnings in pipelined dml (#51867)
ref pingcap/tidb#50215
2024-03-19 05:35:14 +00:00
af897798b9 txn: implement staging for Pipelined DML (#51832)
ref pingcap/tidb#50215
2024-03-18 12:27:43 +00:00
26e4988398 txn: check unsupported table types for Pipelined DML (#51839)
ref pingcap/tidb#50215
2024-03-18 03:59:19 +00:00
b3cb95db05 txn: save RPCs for Pipelined-DML (#51652)
close pingcap/tidb#51625
2024-03-16 11:59:11 +00:00
a6b1dd38ac session: check the distributed task before upgradation (#51500)
close pingcap/tidb#51499
2024-03-15 11:54:40 +00:00
68c03cfb65 txn: enable pipelined dml by hint (#51770)
ref pingcap/tidb#50215
2024-03-15 08:59:11 +00:00
1bac1d4ccb txn: check MDL when starting and committing pipelined txns (#51794)
ref pingcap/tidb#50215
2024-03-15 05:41:18 +00:00
954592375d log: Support a dedicated log file to save general log (#51249)
ref pingcap/tidb#51248
2024-03-14 04:29:09 +00:00
97bb8d8416 txn: produce warnings when fallback from bulk mode (#51697)
ref pingcap/tidb#50215
2024-03-13 10:14:10 +00:00
e3d74d37c9 bootstrage: reserve bootstrap versions for v7.5.x (#51692)
close pingcap/tidb#51690
2024-03-13 04:41:15 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +00:00
xhe
15947c1cf2 logutil: adapt new redact functions (#51642)
close pingcap/tidb#51310, close pingcap/tidb#51641
2024-03-12 09:06:39 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00