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
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
c7165bc518
executor, planner: ON DUPLICATE UPDATE can refer to un-project col ( #14412 )
...
Co-authored-by: Kenan Yao <cauchy1992@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2021-01-06 19:03:51 +08:00
f55e8f2bf8
table: fix insert into _tidb_rowid panic and rebase it if needed ( #22062 )
2021-01-05 18:18:19 +08:00
c3e54962d1
executor: fix a bug that can not insert null into a not null column in the empty SQL mode ( #21237 )
...
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com >
2020-12-25 11:44:00 +08:00
0735a0c924
executor: fix insert ignore into not exists partition ( #21904 )
...
Signed-off-by: lysu <sulifx@gmail.com >
2020-12-23 17:19:29 +08:00
f9092ad3fd
executor: generated column make overflow error as warning when no strict sql mode ( #21879 )
...
Signed-off-by: lzmhhh123 <lzmhhh123@gmail.com >
2020-12-21 16:21:30 +08:00
2905b0defb
*: modify autoid allocator's Alloc() method, add context and tracing ( #21617 )
2020-12-10 17:24:21 +08:00
32d19b78e1
*: refine runtime stats display and tiny bug fix for metrics ( #21022 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-11-26 16:35:25 +08:00
c554481392
executor: update memory usage in batch insert/delete ( #20866 )
2020-11-11 13:11:40 +08:00
8d35f17c17
Update the errors dependence to the latest version ( #20917 )
2020-11-10 09:50:39 +08:00
522275783e
executor: fix auto-id allocation during statements retry ( #20659 )
2020-11-09 16:37:12 +08:00
bacd348560
executor: modify the error message of insert time value ( #20847 )
2020-11-06 16:24:40 +08:00
ae5dc3f69a
executor: fix issue of load data statement doesn't record into slow query and statements_summary ( #20713 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-11-04 16:27:01 +08:00
0017a1717e
*: fix the bug about the insertRuntimeStat.String() ( #20190 )
...
Signed-off-by: jyz0309 <45495947@qq.com >
2020-09-27 18:48:43 +08:00
bb354b0c30
*:Record the time consuming of memory operation of Insert Executor in Runtime Information ( #19574 )
2020-09-23 20:57:40 +08:00
94704d0cc4
expression: incorrect error message of inserting enum & set ( #19380 )
2020-09-11 15:48:24 +08:00
bada2801ac
*: fix cop task runtime information is wrong in the concurrent executor ( #19849 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-09-11 14:14:37 +08:00
968d0d76ae
executor: cleanup useless code in batch checker ( #19511 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-09-01 12:41:52 +08:00
650be7c438
execute: add rpc runtime stats information for insert/update/replace statement ( #19334 )
2020-08-24 16:10:33 +08:00
1dc67745dd
ddl: disallow change auto_random default value by 'ALTER COLUMN' ( #19365 )
2020-08-24 11:03:14 +08:00
32963d3387
*: make load data atomic by default ( #18807 )
...
Signed-off-by: Tina Fritz <tina77fritz@gmail.com >
2020-08-06 21:05:49 +08:00
931ff98df5
simple fixes for the staticcheck linter ( #18923 )
...
Note that this found 2 bugs where errors were being silently ignored.
These are really simple fixes that didn't require much thought.
There are still more staticcheck warnings that should be fixed.
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-06 13:38:17 +08:00
d0639b0056
*: use the newly designed memdb ( #18657 )
...
* *: use the newly designed memdb
* address comments
* remove duplicated comments
Co-authored-by: Evan Zhou <coocood@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-03 20:51:05 +08:00
761a961ba0
kv: refactor MemBuffer and reduce the memory usage ( #18372 )
2020-07-15 15:26:25 +08:00