558d5610ce
executor: fix load-data result when field term be the prefix of line term ( #22585 )
...
Signed-off-by: lysu <sulifx@gmail.com >
2021-01-28 17:46:00 +08:00
2364fec8f0
executor: fix load data in file get wrong result #20854 ( #21895 )
2021-01-21 21:53:29 +08:00
ca93c7fc16
types: convert string to MySQL BIT correctly ( #21310 )
2021-01-18 12:17:58 +08:00
f2a68ee28a
executor: fix update ignore into not exists partition ( #21984 )
2020-12-30 16:44:13 +08:00
b1bd2856ca
config: disable list partition by default since it's an experimental feature ( #22045 )
2020-12-29 09:56:18 +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
a42aa31dc9
executor: add auto_random, auto_increment, generated column, global index test for list (columns) partition ( #21725 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-12-17 11:19:35 +08:00
a02660e2dd
*: fix tiny bug and add more DML test for list partition table ( #21423 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-12-11 21:32:22 +08:00
39d8fcc71b
executor: fix value swapping and multi-updates in UPDATE statement ( #20493 )
2020-12-10 15:48:02 +08:00
28c9e9290b
*: gocritic fixes for commentFormatting ( #21578 )
2020-12-09 12:03:17 +08:00
115c7f88e8
executor: set the inner join keys' field length to unspecified ( #21233 )
2020-11-24 17:00:53 +08:00
afb2ab95f0
table: fix zero date in different sqlmode ( #20206 )
2020-11-24 12:46:51 +08:00
7ab3649256
executor, types: fix skipped replace when the value is treated as the same in CI collations ( #20858 )
2020-11-11 19:38:23 +08:00
cc0bef82b7
util, types: fix overflow & adjustment for the year type in index ranger ( #20338 )
2020-11-06 17:14:54 +08:00
bacd348560
executor: modify the error message of insert time value ( #20847 )
2020-11-06 16:24:40 +08:00
feab4cb9b8
executor: fix skipped update when the value is treated as the same in CI collations ( #20786 )
2020-11-04 17:07:16 +08:00
fc4be377e1
executor: add test for insert/update/delete list [columns] partition ( #20635 )
...
Signed-off-by: crazycs520 <crazycs520@gmail.com >
2020-10-27 17:52:53 +08:00
6271bd472e
expression: fix inaccurate error info for year column out of range ( #18871 )
2020-09-23 15:52:30 +08:00
fdcc19eb11
sessionctx: fix a bug where update stmt not considered when clipping negative num to 0 ( #19605 )
2020-09-03 20:16:17 +08:00
ed4004ac04
executor: fix apply with union scan and point batch point get ( #19128 )
2020-08-12 10:49:30 +08:00
b75a30fda8
transaction: always lock keys with presume not exists flag ( #19071 )
...
* transaction: lock delete unique index key
* always lock for key with presume not exists flag
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-09 22:50:48 +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
ac30f5322e
mockstore: introducing embedded unistore ( #17156 )
2020-05-18 17:28:44 +08:00
c0814f0b0e
return err when INSERT/UPDATE/ANALYZE/DELETE a sequence ( #16936 )
2020-04-30 16:52:38 +08:00
6814f8c94b
*: refactor Handle in table package ( #16807 )
2020-04-27 10:04:50 +08:00
5bf9ad7b81
executor: fix load data deal with escape character. ( #16340 )
2020-04-20 20:33:28 +08:00
0f302966a4
test:make TestLoadDataMissingColumn stable ( #16130 )
2020-04-08 22:48:39 +08:00
1ff32ace27
executor: use MySQL compatible truncate error code ( #15422 )
2020-03-18 12:28:43 +08:00
a37a0ff461
store: check constraint for "Delete-Your-Writes" records when txn commit ( #14968 )
2020-03-06 16:45:48 +08:00
87bbe7dcbe
types: Fix duration parser ( #14588 )
...
Signed-off-by: Iosmanthus Teng <myosmanthustree@gmail.com >
2020-02-07 14:30:44 +08:00
128ec02a9f
test: fix a bug for leak check ( #14592 )
2020-02-05 14:15:23 +08:00
39ed9f326a
executor: Speed up unit tests ( #14357 )
2020-01-06 21:20:09 +08:00
c1bc9ffe5b
*: add memory tracker for InsertExec and ReplaceExec ( #14179 )
2019-12-30 11:43:01 +08:00
206cdbedfc
types: fix insert error when convert string to float ( #13716 )
2019-12-10 16:03:25 +08:00
3a48a48630
*: remove the assertion proto ( #13732 )
...
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
a1dc0477a5
types: add error code for package types ( #13300 )
2019-11-26 19:45:14 +08:00
275984501f
planner: Support assign DEFAULT in ON DUPLICATE KEY UPDATE statement ( #13168 )
2019-11-21 12:33:37 +08:00
380216ed20
planner: Fixup error when assign DEFAULT in `INSERT/UPDATE/R… ( #13211 )
2019-11-19 18:23:02 +08:00
dffc5152f2
planner: freeze the output order of UPDATE's select ( #13166 )
2019-11-11 23:09:21 +08:00
9b0334601a
executor: speed up test ( #12896 )
2019-10-23 21:11:21 +08:00
bc997d7035
executor: split test for speed up ( #12881 )
2019-10-23 12:58:29 +08:00
3173e6942f
executor: fix update self-duplicate detect ( #12249 )
2019-09-18 23:25:17 +08:00
d438e103be
executor: load data statement, separate data preparing routine and commit routine ( #11533 )
2019-09-16 19:46:12 +08:00
34a8ca30d6
executor: use the kv.PresumeKeyNotExists option in updateRecord() ( #11720 )
...
This change can avoid unnecessary network roundtrip when creating a primary key or unique index
2019-08-26 15:18:30 +08:00
036e7e207d
*: support new 'log' format for trace ( #11681 )
2019-08-09 12:43:33 +08:00
8bc63973df
executor: move failpoint test case to seq test suite ( #11525 )
2019-07-30 18:32:05 +08:00
ca70d74a28
executor, expression: fix current_timestamp/now not consistent… ( #11342 )
2019-07-23 17:02:24 +08:00