Commit Graph

45 Commits

Author SHA1 Message Date
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
3d176fcc2c util/codec,util/errctx,*: add error context, and use it to refactor util/codec (#48613)
close pingcap/tidb#48611
2023-11-20 13:53:40 +00:00
bee28760d8 parser/executor: admin show/set bdr role (#48504)
ref pingcap/tidb#48519
2023-11-16 12:44:16 +00:00
6e8df186f5 executor: fix goroutine leak for EvalSubqueryFirstRow (#48133)
close pingcap/tidb#48007
2023-11-13 02:27:43 +00:00
79a62779af executor: fix panic when to enable tidb_mem_quota_analyze (#48358)
close pingcap/tidb#48357
2023-11-07 13:33:41 +00:00
633d2231a8 executor: put sort files into one folder (#48351)
ref pingcap/tidb#47733
2023-11-07 11:53:26 +00:00
d3f64152bb disttask: fix split region batch panic (#48348)
close pingcap/tidb#48347
2023-11-07 11:53:19 +00:00
c1e28f31b7 ddl, table: improve the efficiency of adding index (#48184)
ref pingcap/tidb#47757
2023-11-02 14:35:09 +00:00
6d64b7e89a types, stmtctx, *: use ZeroDate, ZeroInDate and InvalidDate related flags to replace variable in statement context (#47794)
close pingcap/tidb#47507, close pingcap/tidb#47508
2023-10-27 10:44:05 +00:00
fd08ae3ebb executor: fix wrong ConnID for query out of memory quota (#47980)
close pingcap/tidb#47979
2023-10-26 08:02:04 +00:00
2a628c4801 *: unified the cancel/kill logic in tidb (#47063)
close pingcap/tidb#47075
2023-10-23 09:48:38 +00:00
92749f73c8 types: more strict for types.StrictFlags (#47842)
close pingcap/tidb#47829
2023-10-20 09:39:40 +00:00
987663fff7 types: use flags in types package to handle clip zero case (#47543)
close pingcap/tidb#47518
2023-10-19 08:15:30 +00:00
bf2f1ddc9e ddl: refine job_type of admin show ddl jobs (#47699)
ref pingcap/tidb#45719
2023-10-18 07:15:29 +00:00
3ef01b5882 types, *: move truncate flags to the types context (#47522)
close pingcap/tidb#47511
2023-10-18 05:15:29 +00:00
895b4e0f12 *: replace mathutil.Max/Min with built-in max/min (#47700)
ref pingcap/tidb#45933
2023-10-17 07:22:59 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00