Commit Graph

66 Commits

Author SHA1 Message Date
99857e33e8 server: add tidb_enable_shared_lock_promotion to support for share lock upgrade (#55023)
close pingcap/tidb#55022
2024-08-08 12:26:10 +00:00
3dfa15cd97 planner: move logical lock into logicalop pkg. (#55160)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-08-07 04:17:09 +00:00
07f7774987 executor: refactor the BaseExecutor and remove session context in IndexLookUpExecutor and IndexReaderExecutor. (#54626)
close pingcap/tidb#54625
2024-07-22 05:03:04 +00:00
2da324d1a1 executor: Use the BaseExecutorV2 to refactor the SelectionExec and remove the session context inside (#54617)
close pingcap/tidb#54616
2024-07-19 07:21:01 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
91a165b841 executor: optimize ResetContextOfStmt (#54063)
ref pingcap/tidb#54047
2024-07-03 03:49:27 +00:00
3941867b8a planner: introduce a new fix-control 43817 to control whether to allow the optimizer to evaluate non-correlated sub-queries in advance (#53782)
ref pingcap/tidb#43817
2024-06-04 09:52:33 +00:00
78549f33e5 executor: ddl jobs microsecond (#52930)
close pingcap/tidb#52929
2024-05-13 20:16:11 +00:00
e5651c43bd planner: optimize performance of IndexUsage utilities (#53195)
close pingcap/tidb#51898
2024-05-13 04:40:10 +00:00
788d5050e5 planner: move handle cols to planner util (#53093)
ref pingcap/tidb#51664, ref pingcap/tidb#52714
2024-05-08 04:41:39 +00:00
de92425cf2 executor: refine executor code (#52959)
close pingcap/tidb#52903
2024-05-07 03:17:36 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
a74d9a74c6 planner: small refactor for plan cache (#52837)
ref pingcap/tidb#50618
2024-04-23 10:25:40 +00:00
cfbabfa705 stmtctx: use a standalone RangeFallbackHandler (#52738)
close pingcap/tidb#52737
2024-04-22 13:04:39 +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
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
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
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +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
87bcf32d67 expression: remove providing EnableVectorizedExpression in EvalContext (#51567)
close pingcap/tidb#51563
2024-03-07 07:09:36 +00:00
e90df0c19d executor,distsql: refactor the base executor in tableReader (#51397)
close pingcap/tidb#51396
2024-02-29 13:48:32 +00:00
bda61f6767 *: remove useless stmtVars method in SessionVars (#51345)
close pingcap/tidb#51344
2024-02-29 09:44:12 +00:00
6f02e99396 experssion: table: standalone implement for EvalContext and BuildContext (#51299)
close pingcap/tidb#51298
2024-02-27 07:26:21 +00:00
fc36864a1f table: standalone implement for table.MutateContext and table.AllocatorContext (#51262)
close pingcap/tidb#51259
2024-02-23 07:21:27 +00:00
3d1708f80c telemetry: remove the codes of Telemetry (#51202)
close pingcap/tidb#49939
2024-02-22 11:48:26 +00:00
1ee58bf15b planner: replace context in planbuilder to PlanContext (#51172)
ref pingcap/tidb#51070, close pingcap/tidb#51171
2024-02-21 10:49:57 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +00:00
ee1864460f planner: introduce PlanContext to provide context for planner phase (#51074)
close pingcap/tidb#51070
2024-02-08 10:35:47 +00:00
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
7087f702e1 executors: record the index usage in each executors (#50643)
close pingcap/tidb#50261
2024-01-30 03:51:22 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
6a87b80e2c sessionctx: fix data race of SessionVars.Status (#50729)
close pingcap/tidb#50715
2024-01-26 18:39:20 +00:00
c1cae24a87 table: simplify the interface table.Index to reduce its context requirement (#50692)
close pingcap/tidb#50691
2024-01-24 10:06:28 +00:00
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
bfa10bdc18 bindinfo: SetSkipPlanCache use nostack errors (#50585)
close pingcap/tidb#49291
2024-01-19 05:34:47 +00:00
6e10826f16 *: move dup key error handling to errctx (#50239)
close pingcap/tidb#50238
2024-01-10 11:51:23 +00:00
d5a21e2829 *: remove stmtctx.IgnoreNoPartition and use errctx to handle partition mismatch error (#50173)
close pingcap/tidb#50172
2024-01-09 07:24:31 +00:00
64741e9710 *: remove stmtctx.BadNullAsWarning and use errctx to handle bad null error (#50120)
close pingcap/tidb#50119
2024-01-05 11:28:51 +00:00
98f4e879e5 *: use errctx to handle divide zero error (#50042)
close pingcap/tidb#50041
2024-01-05 05:47:10 +00:00
f5cb034baa ddl: support fine-grained modify column and add column (#50039)
close pingcap/tidb#48519
2024-01-05 05:47:03 +00:00
383105433b *: move StmtCtx.ErrAutoincReadFailedAsWarning to errctx (#49992)
close pingcap/tidb#49991
2024-01-03 09:56:02 +00:00
60d6286fa3 ddl: support bdr bwlist (#48776)
ref pingcap/tidb#48519
2023-12-28 08:04:58 +00:00
a8a7525456 planner: introduce a new fix-control variable to lift all plan cache restrictions for testing (#49754)
close pingcap/tidb#49736
2023-12-25 11:42:26 +00:00
b27587e9b6 session: add resource group name in stmt context (#49422)
close pingcap/tidb#49318
2023-12-21 02:58:54 +00:00
b850d26e7f pkg/executor: refine the Executor interface (#49494)
close pingcap/tidb#49490
2023-12-19 09:54:23 +00:00
531a1ce920 stmtctx: remove OverflowAsWarning flag (#49122)
close pingcap/tidb#49137, close pingcap/tidb#49143
2023-12-14 16:51:19 +00:00
0110acbdfe executor: set OverflowAsWarning for insert statement in non-strict sql mode (#49383)
close pingcap/tidb#49369
2023-12-14 04:28:50 +00:00
80c6fc1fbd executor: recover panic in executor.Close() (#49222)
close pingcap/tidb#49223
2023-12-12 13:09:19 +00:00
4dabd69093 executor: inherit memory quota from user session for admin check (#49260)
close pingcap/tidb#49258
2023-12-07 10:25:21 +00:00