Commit Graph

166 Commits

Author SHA1 Message Date
afd6d6a33a server: add protocol support for lazy cursor fetch (#54527)
close pingcap/tidb#54526
2024-07-18 10:22:32 +00:00
8cd82a44ad infoschema_v2: init schema cache size in meta (#54530)
ref pingcap/tidb#50959
2024-07-17 11:18:00 +00:00
ac786cb1a3 server: refine the connection counter logic (#54546)
close pingcap/tidb#54428, close pingcap/tidb#54545
2024-07-15 05:11:58 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
f158c65446 table: provide some binlog related methods for binlog in MutateContext (#54433)
ref pingcap/tidb#54392, ref pingcap/tidb#54397
2024-07-10 05:43:33 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
d8098b9708 test: stabilize TestUpgradeWithPauseDDL (#54504)
close pingcap/tidb#54452
2024-07-09 07:43:40 +00:00
8c1ce99065 ddl: schedule as many jobs as possible in one round, simplify sql to query jobs (#54438)
ref pingcap/tidb#54436
2024-07-09 04:39:02 +00:00
cb237b6c8b *: optimize error generation, debug log and AllocHandle in the hot write path (#54308)
ref pingcap/tidb#54444
2024-07-05 07:46:28 +00:00
3a384e6066 planner: refactor a few code of plan cache (#54442)
ref pingcap/tidb#54057
2024-07-04 14:22:28 +00:00
ef53d61c10 planner: refactor a few code of plan cache (#54404)
ref pingcap/tidb#54057
2024-07-03 11:31:27 +00:00
91a165b841 executor: optimize ResetContextOfStmt (#54063)
ref pingcap/tidb#54047
2024-07-03 03:49:27 +00:00
482ccd6b6d planner: refactor a few code of plan cache (#54362)
ref pingcap/tidb#54057
2024-07-01 15:29:56 +00:00
585c631742 session, infosync: add a cursor tracker to the session to keep tracking all needed information of the cursor. (#54114)
close pingcap/tidb#54113
2024-07-01 10:22:35 +00:00
64a166bf18 ddl: add fast create database (#54013)
ref pingcap/tidb#50052
2024-06-27 08:31:23 +00:00
761b5926a7 session: reserve bootstrap versions for v8.1.x (#54266)
ref pingcap/tidb#53440, close pingcap/tidb#54267
2024-06-27 05:02:52 +00:00
432bb79f97 *: remove some usages of SchemaTables (#54199)
ref pingcap/tidb#50959
2024-06-26 12:01:24 +00:00
d1854a74e2 planner: add InstacnePlanCache to Domain (#54231)
ref pingcap/tidb#54057
2024-06-26 10:28:29 +00:00
e036274a23 executor, session: Add Detach() method to detach the record set (#54091)
close pingcap/tidb#54090
2024-06-24 08:49:21 +00:00
6fe4f9e470 variable: add system variable 'tidb_resource_control_strict_mode' (#54033)
ref pingcap/tidb#53440
2024-06-20 04:43:17 +00:00
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