Commit Graph

418 Commits

Author SHA1 Message Date
f1ddb5a968 stmtsummary: add new columns plan_cache_unqualifed into statement_summary (#52725)
close pingcap/tidb#50618
2024-04-22 04:42:09 +00:00
72e5460ee8 lightning/importinto: fix insert err after import for AUTO_ID_CACHE=1 and SHARD_ROW_ID_BITS (#52712)
close pingcap/tidb#52654
2024-04-18 08:10:38 +00:00
f5e591d107 *: fix 'Duplicate entry' error when @@auto_increment_increment and @@auto_increment_offset is set (#52626)
close pingcap/tidb#52622
2024-04-18 07:03:07 +00:00
2e1d9e1039 executor: remove the retry for analyze (#52634)
close pingcap/tidb#52601
2024-04-16 11:12:06 +00:00
2493981289 distsql, executor: remove pctx from trectx (#52496)
close pingcap/tidb#52495
2024-04-15 12:22:36 +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
f2fb90975d executor: fix RU missing for DML stmtatement in explain analyze (#52576)
close pingcap/tidb#52575
2024-04-15 09:42:06 +00:00
224ae15478 *: improve log about stale-read query (#52494)
close pingcap/tidb#52492
2024-04-15 07:48:06 +00:00
98e8cec7ed executor: make tablesample work under different partition prune modes (#52405)
close pingcap/tidb#52282
2024-04-12 07:42:23 +00:00
58267e188b executor: fix data race in the sortexec (#52417)
close pingcap/tidb#52281
2024-04-12 06:58:59 +00:00
5954be7da2 *: let our unit test cover the infoschema v2 code (#52156)
ref pingcap/tidb#50959
2024-04-12 06:58:53 +00:00
7308ff1b10 disttask: enable on default (#52401)
ref pingcap/tidb#52441
2024-04-12 03:51:23 +00:00
Z.H
572e5c48d9 systable: referenced_table_schema in information_schema.key_column_usage should return foreign key table instead of original table (#52370)
close pingcap/tidb#52350
2024-04-11 12:49:52 +00:00
31b3440dc7 executor: fix goroutine leak when builder panic (#52471)
close pingcap/tidb#51693
2024-04-11 11:01:52 +00:00
2debbed41d expression: create a new context in ColumnInfos2ColumnsAndNames to ignore truncate error (#52468)
close pingcap/tidb#52366
2024-04-11 08:09:29 +00:00
8188ede43a linter, *: enable linters appends and unusedwrite (#52452)
ref pingcap/tidb#52449, close pingcap/tidb#52450
2024-04-10 11:45: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
ab90c771a2 resource_manager: fix test by checking system table status (#52456)
close pingcap/tidb#52455
2024-04-09 13:58: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
38f665a104 executor: fix mppIterator memory leak when got error (#52410)
close pingcap/tidb#52406
2024-04-09 09:00:27 +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
0ddbbc8ffc planner, executor: make partition table generate IndexReader with UnionScan (#52337)
close pingcap/tidb#52244
2024-04-08 05:25:49 +00:00
060ff39ab7 planner: simplify plan cache code (#52384)
ref pingcap/tidb#51407
2024-04-07 09:46:49 +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
d2eb9026a4 executor: fix distorted join probe time (#52227)
close pingcap/tidb#52222
2024-04-07 03:33:19 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
b4c8b5279f distsql: support global index in memIndexLookUpReader (#52240)
close pingcap/tidb#52132
2024-04-02 07:51:17 +00:00
d971a6dd1e importinto: change min thread to 8 for global sort (#52276)
ref pingcap/tidb#49008
2024-04-02 05:00:17 +00:00
76abd8b836 disttask,ddl: use subtask concurrency (#52286)
ref pingcap/tidb#49008
2024-04-02 04:24:16 +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
f2ea18c07f lightning: move lightning directory out of br (#52247)
ref pingcap/tidb#52182
2024-04-01 07:13:46 +00:00
6f0adb8c4a executor: fix data race in parallel sort test (#52246)
close pingcap/tidb#52238
2024-04-01 03:55:46 +00:00
2cc964d1ad executor: add lock time in total time of insert execution info (#52211)
close pingcap/tidb#52174
2024-03-30 15:52:45 +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
f58f5e1a68 infoschema: don't display tables in MemDB when query TIDB_HOT_REGIONS (#52180)
close pingcap/tidb#50810
2024-03-28 11:12:48 +00:00
dde0a5483f statistics: do not block when sending analyze result (#52107)
close pingcap/tidb#51993
2024-03-27 11:41:18 +00:00
a72b319257 executor: Support parallel sort spill (#50747)
close pingcap/tidb#50746
2024-03-27 11:08:18 +00:00
311eef9d03 expression: introduce SessionEvalContext to implement EvalContext (#52091)
close pingcap/tidb#52089
2024-03-26 09:42:54 +00:00
99ba63abf1 infoschema: fix drop schema for infoschema v2 (#52024)
ref pingcap/tidb#50959
2024-03-25 14:27:46 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
b4d9a7d282 executor: fix the panic that send on closed channel in the TestRandomFail (#52076)
close pingcap/tidb#52069
2024-03-25 11:15:53 +00:00
639fa0073f expression: finish to remove SessionVars and other complex objects from EvalContext (#52015)
close pingcap/tidb#51477
2024-03-25 10:24:47 +00:00
cc842e8187 planner: remove unnessary atomic variables (#52060) 2024-03-25 08:27:46 +00:00
490e17c9ab importinto: add log for chunk checksum & replace codec with keyspace (#52054)
ref pingcap/tidb#49008
2024-03-25 05:45:46 +00:00
fb64325ee5 executor: handle the corner case that temp index is not exist but the normal index is exist (#51862)
close pingcap/tidb#51784
2024-03-22 13:20:14 +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
07ef009486 server, metrics: remove the connection count on server, only use the metrics (#51996)
close pingcap/tidb#51889
2024-03-22 09:47:15 +00:00
b9d83d3efb ddl: determine whether to use merge sort by each index separately (#52000)
close pingcap/tidb#52004
2024-03-22 06:59:13 +00:00
ef1eb3c42b infoschema_v2: refine infoschemaReader fetch columns process (#51995)
ref pingcap/tidb#50959
2024-03-22 06:27:45 +00:00