Commit Graph

218 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
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
01a45732ad planner: fix the issue that bindings with query-level hint can not take effect for replace statements (#54048)
close pingcap/tidb#53834
2024-06-18 05:19:16 +00:00
152db14934 executor: add hash join v2 (#53208)
ref pingcap/tidb#53127
2024-06-14 08:35:44 +00:00
b96a775753 Optimizer: Fix range extraction for CNF(conjunctive normal form) (#53908)
ref pingcap/tidb#41598
2024-06-14 05:13:13 +00:00
e9da2c0887 server: handle kill signal during write result to connection (#52882)
close pingcap/tidb#44009
2024-06-12 08:09:00 +00:00
fe5003be41 util: mock disk hang and slow in random fail tests (#53924)
close pingcap/tidb#53923
2024-06-12 02:41:59 +00:00
2372cf828c hint: avoid duplicate hints in QBHintHandler (#53921)
close pingcap/tidb#53767
2024-06-11 09:52:30 +00:00
793530a387 executor: enable parallel sort (#53537)
close pingcap/tidb#53536
2024-06-06 04:29:56 +00:00
f1ec74b3b8 *: fix insert on duplicate and replace into with global index (#53717)
close pingcap/tidb#53711, close pingcap/tidb#53750
2024-06-03 12:19:24 +00:00
5e6df4eeb1 expression, *: Eval param get type with context (#53656)
close pingcap/tidb#53653
2024-06-03 09:39:01 +00:00
4670bf577a ddl: separate sessionctx.Context in backfillCtx to sub-contexts (#53671)
ref pingcap/tidb#53388
2024-05-31 23:59:52 +00:00
afd23434dc util: use runtime.Version() to get Go version (#53619)
close pingcap/tidb#53618
2024-05-29 03:04:20 +00:00
97aac23c85 util: move server.TokenLimiter into util (#53598) 2024-05-28 04:51:03 +00:00
3485857563 ranger: handle float/integers overflow properly (#53501)
close pingcap/tidb#46538
2024-05-23 11:28:18 +00:00
fe5858b00c ranger: handle longlong overflow properly (#52365)
close pingcap/tidb#45783
2024-05-23 01:40:17 +00:00
595cc15b35 br/cdcutil: don't skip failed changefeeds (#53482)
close pingcap/tidb#53131
2024-05-22 11:38:47 +00:00
b7e32bcf99 planner: fix the wrong result caused by year_col cmp out-of-range-uint (#53395)
close pingcap/tidb#50235
2024-05-20 09:47:46 +00:00
397a460dd0 util/security: support client TLS verifies CommonName of server (#53358)
close pingcap/tidb#53357
2024-05-20 03:10:14 +00:00
b9b330a9b6 br/restore: use a more relax check for changefeeds when restoring (#53121)
close pingcap/tidb#53131
2024-05-15 13:11:44 +00:00
4eca4ebf9f executor: Support TopN Spill (#51809)
ref pingcap/tidb#47733
2024-05-15 10:14:42 +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
xhe
41ce0a56b4 executor: add a panic guard for stmtsummary (#53216)
close pingcap/tidb#50659
2024-05-13 07:23:55 +00:00
dcd1fa9d96 expression: fix the collation of functions with json arguments (#53126)
close pingcap/tidb#52833
2024-05-11 11:38:39 +00:00
6d92e7af94 point-get: calculate the row level checksum on the real time to avoid incorrect checksum caused by schema change (#52511)
close pingcap/tidb#52590
2024-05-11 03:20:39 +00:00
0f0418fb4a expression: change ExprCtxExtendedImpl to SessionExprContext (#52839)
close pingcap/tidb#52838
2024-04-29 12:43:28 +00:00
10971ea5b0 ddl: use package-level logger which preset "category" field (#52885)
close pingcap/tidb#52883
2024-04-26 07:19:48 +00:00
d626b6adf0 disttask: fix scope can't set different value (#52627)
close pingcap/tidb#52441
2024-04-26 07:19:42 +00:00
Z.H
3292909378 util/ranger: Handle boundary value correctly in ranger to avoid incorrect tableDual plan (#52225)
close pingcap/tidb#50051
2024-04-24 18:34:41 +00:00
96f107887f expression: remove SetInNullRejectCheck in BuildContext (#52721)
close pingcap/tidb#52719
2024-04-24 03:03:11 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
b1baf4d642 planner: move logical interface definition to base pkg (#52732)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-04-23 07:36:10 +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
8f138d5113 planner: add more test cases for unqualified plan cache cases in statement_summary (#52802)
ref pingcap/tidb#50618
2024-04-22 07:54:09 +00:00
f1ddb5a968 stmtsummary: add new columns plan_cache_unqualifed into statement_summary (#52725)
close pingcap/tidb#50618
2024-04-22 04:42:09 +00:00
1b3700c1c1 execdetails: Fix max_remote_stream shown in execution info.tiflash_task (#52647)
close pingcap/tidb#52646
2024-04-17 02:31:36 +00:00
cd9c676e9b cgroup: remove redundant log (#52611)
close pingcap/tidb#52612
2024-04-15 14:51:06 +00:00
2b6b78af22 lightning: update dependency pebbledb to v1.1.0 (#52400)
close pingcap/tidb#52402
2024-04-10 10:24: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
f4e60c6e9f expensive-log: print affected rows (#52412)
close pingcap/tidb#51240
2024-04-09 03:54:20 +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
3648b9d5fb cop: display kv read time details in the execution information (#52146)
ref pingcap/tidb#28937
2024-04-03 10:16:48 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
923b071189 *: update tikv/client-go to fix panic log (#52333)
close pingcap/tidb#52332
2024-04-03 08:18:17 +00:00
8f5f608dd4 topsql, pprof: use hex string but not binary sql/plan digest in goroutine label (#52216)
close pingcap/tidb#52215
2024-04-02 09:25: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