Commit Graph

94 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
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
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
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
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
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
00eafc0933 planner: refactor a few code of plan cache (#54075)
ref pingcap/tidb#54057
2024-06-18 07:22:23 +00:00
68219b9317 *: fix some typos in code comments (#53371) 2024-05-20 08:01:16 +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
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
f383e0e685 ddl: add some comments to help readability (#52825) 2024-04-24 08:33:18 +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
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
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
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
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
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
cbe52e6438 txn: introduce pipelined DML (#50389)
ref pingcap/tidb#50215
2024-03-08 10:12:37 +00:00
xhe
611dc83af6 *: migrate to the new parser redact function (#51590)
close pingcap/tidb#51588
2024-03-08 08:59:07 +00:00