Commit Graph

183 Commits

Author SHA1 Message Date
c7c7000165 ddl: Exchange partition rollback (#45877)
close pingcap/tidb#45791, close pingcap/tidb#45920
2023-08-10 14:30:27 +00:00
b1feeca170 linter: enable revive for executor (#45504)
ref pingcap/tidb#40786
2023-07-24 03:22:18 +00:00
30cafb3c3a executor: refactor executor and baseExecutor (#45065)
ref pingcap/tidb#44940
2023-07-03 07:56:12 +00:00
3c45737ce2 txn: add a variable to control whether to lock unchanged unique keys (#44598)
close pingcap/tidb#44714
2023-06-26 04:17:37 +00:00
xhe
7eebafe913 *: simplify insert into set (#44465)
close pingcap/tidb#44464
2023-06-12 10:29:06 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
f320bbe469 linter: enable QF1012 (#44554)
ref pingcap/tidb#40786
2023-06-09 21:56:46 +00:00
8b67cea5e1 *: support check constraint in tidb (#44104)
ref pingcap/tidb#41711
2023-06-07 08:51:42 +00:00
f3931d0c3b loaddata: fix inconsistent MySQL error (#44167)
close pingcap/tidb#43555
2023-05-25 08:19:39 +00:00
6e11eefcfc loaddata: don't split transaction and revert some change (#44136)
ref pingcap/tidb#44078
2023-05-25 03:43:38 +00:00
0ac7473ec9 loaddata: revert concurrent writing to TiKV and WITH detached (#44056)
ref pingcap/tidb#44078
2023-05-23 06:43:38 +00:00
875e34d28a executor: fix uint type overflow on generated column not compatible with mysql (#40157)
close pingcap/tidb#40066
2023-04-20 00:11:19 +08:00
e6cf1ab854 executor: lock untouched unique keys on update (#42713)
close pingcap/tidb#36438
2023-03-31 21:46:55 +08:00
a1407b29fa loaddata: split functionalities to prepare concurrent load (#42565)
ref pingcap/tidb#40499
2023-03-28 23:20:55 +08:00
04741ae4ca *: implement CANCEL/DROP LOAD DATA JOB (#42137)
ref pingcap/tidb#40499
2023-03-17 11:58:39 +08:00
24cd54c746 executor: lock duplicated keys on insert-ignore & replace-nothing (#42210)
close pingcap/tidb#42121
2023-03-15 22:52:40 +08:00
fff7fb9fec executor: enable deadlock (#42173) 2023-03-15 09:00:39 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
25770ffc6b executor: unify replace into logic for InsertValues and ReplaceExec (#41947)
ref pingcap/tidb#40499
2023-03-08 23:47:12 +08:00
1d293d8159 executor: implement part of restrictive LOAD DATA (#41793)
close pingcap/tidb#41784
2023-03-03 22:23:10 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
3ccff46aa3 executor: special handling is required when an "auto id out of range" error occurs in insert ignore into ... on on duplicate ... (#39847)
close pingcap/tidb#38950
2023-01-03 21:28:20 +08:00
f9d4a54b08 expression: impl cast as array function (#40076)
close pingcap/tidb#40128
2022-12-26 20:40:15 +08:00
6784bfd0e8 sessionctx: move shardRand from TransactionContext to SessionVars to reduce allocation (#39661) 2022-12-08 20:28:05 +08:00
63ce7931b0 *: add foreign key check/cascade runtime stats information in explain analyze result (#39203)
close pingcap/tidb#39202
2022-11-30 20:00:01 +08:00
23543a4805 *: merge the runtime stats in time to avoid using too many memory (#39394)
close pingcap/tidb#39413
2022-11-29 21:00:00 +08:00
19dae1fa73 *: separate auto_increment ID allocator from _tidb_rowid allocator when AUTO_ID_CACHE=1 (#39041)
close pingcap/tidb#982
2022-11-29 20:20:00 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
a1de01dcfc executor: refine EXPLAIN ANALYZE info for INSERT IGNORE statement (#38770)
close pingcap/tidb#38769
2022-11-01 18:08:00 +08:00
38e9aa02ef *: support foreign key on update cascade and set null when execute update statement (#38652)
close pingcap/tidb#38651
2022-11-01 13:07:59 +08:00
858b8a38ea *: add foreign key constraint check when execute insert statement (#37466)
close pingcap/tidb#37465
2022-09-24 00:41:43 +08:00
d0f8487dea *: support specifying range bits for auto_random (#36860)
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
d6d0ce7b10 *: gofmt code for adapting go 1.19 (#36832)
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
6418350e97 executor,expression: avoid to append nil to warnings (#36304)
close pingcap/tidb#31569
2022-08-05 17:00:06 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
e9f3980853 table partition: exchange partition with table enhance (#35749)
close pingcap/tidb#35996
2022-07-21 00:13:09 +08:00
cc46266e4a ddl: fix alter column drop default (#35072)
close pingcap/tidb#35018
2022-06-06 16:22:29 +08:00
bbfbe137eb *: move config file option enable-batch-dml to sysvar (#33803)
ref pingcap/tidb#33769
2022-05-13 22:12:37 +08:00
2258bc54c4 txn: Add EnterNewTxn and OnStmtStart methods to TxnManager (#34263)
close pingcap/tidb#34390
2022-05-07 21:02:32 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
1d485d11ed topsql: fix admin check/cleanup/recover statement doesn't set tag for RPC request (#33869)
close pingcap/tidb#33716
2022-04-13 18:00:36 +08:00
e9b7f77726 topsql: add more test to check resource tag for each RPC request (#33623)
close pingcap/tidb#33208
2022-04-07 11:58:32 +08:00
c11e650527 *: make golangci-lint work on Go1.18 (#33081)
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00
450d72fd6e executor: replace should not change other rows when auto ID is out of range (#30301) 2021-12-02 10:25:53 +08:00
51f53f3376 insert: fix the auto id retry won't cast the datum to origin type (#29997) 2021-11-22 23:39:49 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00