Commit Graph

161 Commits

Author SHA1 Message Date
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
e5bf177cd9 *: Use snapshot interceptor to handle temporary table's insert/update/delete (#28218) 2021-09-23 10:00:46 +08:00
48c624b201 *: remove some unnecessary exported/interface functions (#28134) 2021-09-22 15:22:45 +08:00
777b40cb8c *: refactor Allocator.Rebase() interface (#27649) 2021-08-30 13:10:11 +08:00
b1f3974f10 *: refactor Allocator.Alloc() interface for separating auto IDs (#27616) 2021-08-28 15:32:05 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
73cadf060d ddl: improve MySQL compatibility on time-to-year conversion (#26884) 2021-08-13 22:49:58 +08:00
6a1e5215df executor: Add insert/replace ignore/on duplicate key support for local temporary table (#26636) 2021-08-04 14:19:07 +08:00
a69f2bd5ce go.mod: update client-go to version 20210728 (#26685) 2021-07-29 14:50:17 +08:00
06a0ad373c executor: avoid unnecessary string EqualFold() comparisons (#25822) 2021-07-23 14:46:15 +08:00
bae50247ef executor: fix goword checker bugs in insert*.go (#26257) 2021-07-16 12:01:33 +08:00
58d8b960fa execution: fix dayofweek('0000-00-00') behavior (#21508) 2021-06-21 11:42:53 +08:00
9321489621 ddl, executor: fix test race in terror (#25405) 2021-06-15 13:16:36 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
051524ce95 kv: remove DelOption method (#24762) 2021-05-25 17:53:34 +08:00
d2bdfd51b7 store/tikv: move transaction options out to /kv (#24619) 2021-05-13 17:49:39 +08:00
fa39b79006 store/tikv: remove execdetails dependency (#24119) 2021-04-20 13:41:52 +08:00
f9708e6043 *: collect transaction write duration/throughput metrics for SLI/SLO (#23462) 2021-03-30 11:19:24 +08:00
efe172b0e0 store/tikv:move option from kv to tikv, and make define as a normal int (#23171) 2021-03-22 20:13:36 +08:00
9768e45476 session: add a test case for issue 19127 (#21010) 2021-03-04 11:50:54 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
8ddaf03db1 executor: fix load data losing connection when batch_dml_size is set (#22724) 2021-02-05 10:51:42 +08:00