Commit Graph

38 Commits

Author SHA1 Message Date
ae6d30c24f planner: re-enable the plan cache generator and move Delete/Inset/Update into physicalop (#63443)
ref pingcap/tidb#52714
2025-09-11 06:20:39 +00:00
bed8f2573a executor: fix INSERT IGNORE + STRICT Mode + DST transition. (#61440)
close pingcap/tidb#61439
2025-06-03 05:08:38 +00:00
98dd9708b3 *: Fix insert dst transition timestamp (#61337)
close pingcap/tidb#61334
2025-05-29 03:35:01 +00:00
34afcbb9d3 executor: gopls modernize (#60787)
close pingcap/tidb#60786
2025-05-07 14:32:26 +00:00
5865d15869 executor: refactor uk checker function FetchDuplicatedHandle() (#60896)
ref pingcap/tidb#60339
2025-04-30 07:41:33 +00:00
2a5047b817 tables: always append temp index values for unique index (#60340)
close pingcap/tidb#60339
2025-04-16 01:28:19 +00:00
e200977337 util,executor: Fix incorrect execution info issue of pessimistic lock error (#60056)
close pingcap/tidb#59356
2025-03-26 02:34:13 +00:00
cf4d252af8 *: split definition out of variable pkg and refactor some reorg methods (#59146)
ref pingcap/tidb#57229, ref pingcap/tidb#57497
2025-01-23 09:24:44 +00:00
2de388bebc executor: ignore foreign key error in UPDATE/INSERT/DELETE ignore (#56682)
close pingcap/tidb#39712, close pingcap/tidb#56678, close pingcap/tidb#56681
2024-10-28 09:31:24 +00:00
8c4bab1963 *: upgrade go1.23.2 (#51126)
close pingcap/tidb#50765
2024-10-09 05:15:46 +00:00
7daf0265f1 executor: fix data inconsistency after load data ... replace into ... (#56415)
close pingcap/tidb#56408
2024-10-08 05:57:11 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
7ef2d46ce1 table: Add GetExchangePartitionDMLSupport and remove GetDomainInfoSchema in MutateContext (#55435)
ref pingcap/tidb#53388
2024-08-19 12:28:41 +00:00
6499137a0c table: remove method Txn() in MutateContext (#55400)
close pingcap/tidb#55378
2024-08-14 11:18:07 +00:00
0e47f9acd7 table: Add PessimisticLazyDupKeyCheckMode to determine lazy mode in pessimistic txn (#55360)
close pingcap/tidb#54397
2024-08-14 03:07:37 +00:00
d4c26cae55 table: Add option DupKeyCheckLazy to check duplicated key lazily (#55246)
ref pingcap/tidb#54397
2024-08-08 10:09:40 +00:00
1985662294 table: add new option DupKeyCheckMode for table mutations (#55194)
ref pingcap/tidb#54397
2024-08-06 07:18:40 +00:00
47179ae14d table: introduce RowIDShardGenerator and ReservedRowIDAlloc to alloc auto row id (#54789)
ref pingcap/tidb#54397
2024-07-24 09:01:35 +00:00
8f0db6fe2b table: move add TTL insert rows metrics code out of table package (#54521)
ref pingcap/tidb#54397
2024-07-09 10:49:40 +00:00
9960ae746a executor: do not track membuffer's memory in executor (#53985)
close pingcap/tidb#53984
2024-07-02 10:11:56 +00:00
ab42bca043 *: batch frequent tracker.Consume in the write path (#53976)
ref pingcap/tidb#53973
2024-06-18 11:40:17 +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
4cd8e94516 executor: remove unnecessary stack for insert and load data (#52784)
close pingcap/tidb#52783
2024-04-26 02:07:41 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +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
2b6318411e executor: fix issue of some insert execution stats was omitted (#51630)
close pingcap/tidb#51629
2024-03-11 09:39:38 +00:00
e586960027 table: fix issue of get default value from column when column doesn't have default value (#51309)
close pingcap/tidb#50043, close pingcap/tidb#51324
2024-02-28 05:46:59 +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
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
dd85ed718a variable: remove StrictSQLMode in variable.SessionVars (#50624)
close pingcap/tidb#50589
2024-01-23 07:42:26 +00:00
6e10826f16 *: move dup key error handling to errctx (#50239)
close pingcap/tidb#50238
2024-01-10 11:51:23 +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
9062834986 expression: add ctx to expression.Eval (#48609)
close pingcap/tidb#48608
2023-11-22 05:29:40 +00:00
8301e4e991 types,*: remove the dependency stmtctx from types package. (#48108)
close pingcap/tidb#48080
2023-11-01 11:45:44 +00:00
90bd2dde4d stmtctx, *: change TypeCtx field to a private field (#47742)
close pingcap/tidb#47698, close pingcap/tidb#47752
2023-10-19 05:22:59 +00:00
3ef01b5882 types, *: move truncate flags to the types context (#47522)
close pingcap/tidb#47511
2023-10-18 05:15:29 +00:00
318e82bbb7 *: move most of the packages to 'pkg' (#47123)
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00