Commit Graph

83 Commits

Author SHA1 Message Date
d5fece20f7 ddl: Regenerating AutoIDs for _tidb_rowid during Reorganize Partition (#53770)
close pingcap/tidb#53385
2024-06-13 04:09:00 +00:00
be86a2594e ddl: Reorganize partition supporting global index (#53277)
ref pingcap/tidb#45133
2024-06-04 08:16:26 +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
8483dc538b table: Update delta from column slice, instead of map (#53670)
close pingcap/tidb#53660
2024-06-01 12:59:53 +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
22c41d0e0c table: memoize TableCommon.getCols (#53605)
close pingcap/tidb#53604
2024-05-29 12:07:22 +00:00
6efce0f061 executor: sync deletable columns to binlog when remove record (#53617)
close pingcap/tidb#53133
2024-05-29 07:01:21 +00:00
a6b4fca14d table: simplify the locate partition args for PartitionedTable (#53432)
close pingcap/tidb#53431
2024-05-22 10:13:18 +00:00
2809439d75 table, executor: let SplitIndexValue work with clustered index table. (#53254)
close pingcap/tidb#49995
2024-05-16 12:26:43 +00:00
e1a6b1d633 *: check delete unique key's handle to handle corner case (#52975)
close pingcap/tidb#52914
2024-05-16 08:49:13 +00:00
96f9797fca tablecodec: fix the issue that decoding an index value might panic (#53034)
close pingcap/tidb#47115
2024-05-07 13:52:09 +00:00
8f062f2698 expression: remove InInsertOrUpdate in BuildExpression (#52716)
close pingcap/tidb#52509, close pingcap/tidb#52715, close pingcap/tidb#52748
2024-04-23 16:07:41 +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
4ab889cd6a expression: Add InInsertOrUpdate in BuildContext and remove GetSessionVars (#52528)
close pingcap/tidb#52366
2024-04-17 10:52:37 +00:00
da0de56204 expression: BuildContext read location from EvalContext instead of SessionVars (#52451)
ref pingcap/tidb#52366
2024-04-11 08:09:22 +00:00
e540f0fd00 partition: reorganized the execution order of partition table update operators (#52442)
close pingcap/tidb#49998, close pingcap/tidb#52380
2024-04-10 07:37:51 +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
xhe
8f985c70ae *: additional test for redact log and a fix (#52359)
close pingcap/tidb#52364
2024-04-07 05:31:49 +00:00
482ce59bf6 expression: separate BuildContext and EvalContext (#52311)
close pingcap/tidb#52310
2024-04-03 09:42:24 +00:00
f2ea18c07f lightning: move lightning directory out of br (#52247)
ref pingcap/tidb#52182
2024-04-01 07:13:46 +00:00
0e9e71262d ddl: fix rollback reorganize partition left intermediate state (#51631)
close pingcap/tidb#51090
2024-03-29 07:41:19 +00:00
2ae1933f11 planner: fix hidden column may do not have a virtual expression (#52184)
close pingcap/tidb#52181
2024-03-28 09:02:26 +00:00
bd17acde8c infoschema: introduce MetaOnlyInfoSchema to provide meta only information schema (#52070)
close pingcap/tidb#52072
2024-03-26 10:20:17 +00:00
af897798b9 txn: implement staging for Pipelined DML (#51832)
ref pingcap/tidb#50215
2024-03-18 12:27:43 +00:00
b3cb95db05 txn: save RPCs for Pipelined-DML (#51652)
close pingcap/tidb#51625
2024-03-16 11:59:11 +00:00
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +00:00
ccc453bfe9 lightning: improve post-import conflict detection 'error' semantic (#51277)
ref pingcap/tidb#51036
2024-03-13 10:48:40 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
cbe52e6438 txn: introduce pipelined DML (#50389)
ref pingcap/tidb#50215
2024-03-08 10:12:37 +00:00
7b6fc23617 util: use atomic.Pointer to replace with atomic.Value (#51559)
ref pingcap/tidb#44736
2024-03-07 03:36:42 +00:00
27be90a6e8 *: use AllSchemaNames to replace AllSchemas (#51436)
ref pingcap/tidb#50959
2024-03-06 11:48:36 +00:00
61927172bf *: add expression default values feature relevant tests and fix the "extra" field issue. (#51482)
close pingcap/tidb#51462, close pingcap/tidb#51481
2024-03-05 08:08:12 +00:00
cc0387b1a3 expression: expose some basic fields to expression.EvalContext (#51420)
close pingcap/tidb#51419
2024-03-04 03:39:33 +00:00
e90df0c19d executor,distsql: refactor the base executor in tableReader (#51397)
close pingcap/tidb#51396
2024-02-29 13:48:32 +00:00
78a07b2bf8 planner: enable FixControl44262 by default if we have tidb_skip_missng_partition_stats (#51405)
ref pingcap/tidb#44262
2024-02-29 05:38:02 +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
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
4e202a4ff0 *: make sessionctx.Context depend on contexts in planner and expression (#51150)
close pingcap/tidb#51149
2024-02-19 11:04:56 +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
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
526d738207 expression: refactor functions to build expressions (#50997)
close pingcap/tidb#50996
2024-02-07 03:05:45 +00:00
cea36059cb expression: fix some failed tests in local env (#50954)
close pingcap/tidb#50953
2024-02-05 02:58:13 +00:00
8491da11dd codec: encode checksum for timestamp consider tz (#50896)
close pingcap/tidb#50851
2024-02-02 04:46:54 +00:00
6e022a5c31 table: introduce MutateContext and AllocatorContext for table.Table (#50862)
close pingcap/tidb#50861
2024-02-01 09:01:54 +00:00
0c9b0f4d2b *: delete useless SessionVars.IDAllocator (#50844)
close pingcap/tidb#50842
2024-01-31 09:43:55 +00:00