Commit Graph

133 Commits

Author SHA1 Message Date
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
caf83ed930 statistics: add last_analyze_version for mysql.stats_meta (#51489)
ref pingcap/tidb#49594
2024-03-11 08:06:38 +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
xhe
38cc7bed7f session: migrate to the new redact function (#51561)
close pingcap/tidb#51557
2024-03-08 03:21:37 +00:00
6ec70f17b5 bootstrap: Modify column sizes in constant.go and bootstrap.go (#51457)
close pingcap/tidb#51445
2024-03-07 04:41:05 +00:00
7b6fc23617 util: use atomic.Pointer to replace with atomic.Value (#51559)
ref pingcap/tidb#44736
2024-03-07 03:36:42 +00:00
27be90a6e8 *: use AllSchemaNames to replace AllSchemas (#51436)
ref pingcap/tidb#50959
2024-03-06 11:48:36 +00:00
5e6cb1689e session: load variables before parsing SQL (#51466)
close pingcap/tidb#51387
2024-03-05 17:57:35 +00:00
13bff87d08 variable: unifiy MaxExecuteTime usage and fix some problem (#50915)
close pingcap/tidb#50872, close pingcap/tidb#50914
2024-03-04 10:24:34 +00:00
e90df0c19d executor,distsql: refactor the base executor in tableReader (#51397)
close pingcap/tidb#51396
2024-02-29 13:48:32 +00:00
4182a418c8 *: save kv.Storage in import disttask components and use it (#51336)
ref pingcap/tidb#51337
2024-02-29 07:42:31 +00:00
61c903fa36 session,executor: get back the error stack information from a regression (#50857)
close pingcap/tidb#50849
2024-02-29 05:06:30 +00:00
f1410bf2a8 planner: seperate methods in PlanContext and EvalContext/BuildContext (#51382)
close pingcap/tidb#51381
2024-02-28 11:03:31 +00:00