ce071f5dd3
refactor load data ( #6665 )
2018-05-29 21:19:14 +08:00
eaf82968c4
Executor: fix affected rows count when update ( #6656 )
2018-05-28 10:24:39 +08:00
d965658251
executor: fix a bug of duplicate key update ( #6589 )
2018-05-22 13:00:08 +08:00
2fe3581819
plan: resolve indices for apply schema ( #6540 )
2018-05-11 22:02:12 +08:00
b175f27a0a
executor: set last insert id in the duplicated update statement ( #6345 )
2018-05-09 15:40:35 +08:00
3db7594fa5
*: Refine error message about "Out of range value for column" ( #6334 )
2018-05-09 15:00:52 +08:00
877d0d4d3d
*: fix a bug occurred when insert into time column ( #6451 )
...
* *: fix a bug when insert decimal or decimal-like string into time col
2018-05-09 10:52:30 +08:00
0fda3b408f
executor: move IgnoreErr to StmtCtx ( #6392 )
2018-05-02 17:10:59 +08:00
3513319106
support insert ignore on duplicate update ( #6283 )
2018-04-13 23:11:50 +08:00
3ecf6bd6c8
executor: fix insert on duplicate update ( #6235 )
2018-04-09 00:13:38 +08:00
fbae31e959
executor: optimization for insert on duplicate key update ( #6194 )
2018-04-08 15:12:21 +08:00
6ff44c7878
kv: merge batch get results to fix insert ignore in a transaction block ( #6215 )
2018-04-04 13:35:54 +08:00
5309efe748
executor: make the message of ErrDataTooLong consistent with MySQL ( #6166 )
2018-03-29 11:27:16 +08:00
a46480c830
*: export implicit rowid and use it in CRUD ( #5984 )
2018-03-15 16:35:58 +08:00
096562ee8a
executor: fix bug in insert ( #5968 )
2018-03-07 16:29:48 +08:00
12c87929b8
*:fix some golint && ineffassign && misspell to improve GoReport Result ( #5867 )
2018-02-23 19:31:05 +08:00
4e1a114e68
*: move package context to sessionctx ( #5890 )
2018-02-22 18:03:38 +08:00
eaef520634
types,executor: treat decimal truncate as warning in update ( #5801 )
2018-02-08 15:55:52 +08:00
a2a48b3085
executor: use batch get to speed up LOAD DATA ( #5632 )
...
* use batch get to speed up LOAD DATA
2018-01-19 15:58:00 +08:00
31b606d30d
executer: optimization for insert ignore ( #5508 )
2018-01-12 11:09:25 +08:00
65b2b0d452
*: Set the batch delete/insert size by session variable ( #5413 )
...
We hardcode it to 20k. But if the row size is large. It will still break
the transaction size limitation. So we need to provide a way to set it
dynamicially.
2017-12-17 21:11:18 -06:00
6ca4382dba
*: fix update JSON field. ( #5345 )
2017-12-11 11:39:14 +08:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
16003f0d82
executor: fix missing index update when automatic updating for timestamp 5172 ( #5176 )
2017-11-21 19:04:54 +08:00
14ed94132c
executor: fix issue #5132 , update handle id with some other unique keys report Duplicate keys. ( #5138 )
2017-11-20 11:06:28 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
e15238423f
executor, plan: add cast for the expr of assignments of updateList ( #4850 )
2017-10-20 08:58:33 -05:00
16eb0ae33b
executor: fix bug when auto_increment meets unsigned. ( #4824 )
2017-10-19 15:31:16 +08:00
51a6e6fc48
*: fix ineffectual assignments #4713 ( #4746 )
2017-10-11 21:26:03 -05:00
7d2804e43c
*: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp ( #4732 )
2017-10-10 23:38:53 -05:00
a6756a4eee
*: make insert with calculated value behave the same as MySQL. ( #4603 )
2017-09-27 19:59:31 +08:00
1ae31c9fad
Support delete ignore with strict sql mode produces warnings in truncate error ( #4564 )
2017-09-19 16:20:13 +08:00
c4a2824ca9
Support update ignore for truncate as warning ( #4431 )
2017-09-19 11:02:17 +08:00
fc8b2ee47c
fix #4514 ( #4517 )
2017-09-14 15:31:20 +08:00
6f9457e373
executor: use tearDownTest instead of defer ( #4499 )
2017-09-12 01:02:41 -05:00
ae30c4dcbc
support "UPDATE IGNORE", update conflicts generate warning ( #4397 )
2017-09-04 11:13:18 +08:00
a68d3ad1ee
executor: "INSERT IGNORE" generate warnings for duplicate-key error ( #4381 )
2017-08-31 14:29:28 +08:00
46c1a0e3c3
support INSERT IGNORE with strict sql mode produces warning instead of error ( #4376 )
...
* fix infoschema not support unsigned
2017-08-30 17:02:35 +08:00
29cf5d92c0
executor: fix batch insert on duplicate key ( #4344 )
2017-08-28 18:42:37 +08:00
31edc09341
Add a system variable to enable automatic split delete data into batches. ( #4256 )
...
* *: Batch delete data
2017-08-21 10:37:24 +08:00
861c8c9beb
plan: fix a bug when prune extra handle column ( #4079 )
2017-08-08 21:46:56 +08:00
91ba0841b0
executor, sessionctx, util: treat decimal truncation as warning during inserting ( #3897 )
2017-07-26 19:10:42 +08:00
d35acbdf08
types: Fix insert error when column length is zero ( #3849 )
2017-07-25 18:59:38 +08:00
b55245dd83
executor: a naive support for load data fields enclosed by ( #3759 )
2017-07-20 15:08:24 +08:00
1e1d01ad10
executor: fix explicitly insert null value into timestamp column ( #3646 )
...
create table t (ts timestamp);
insert into t values (null);
This should insert a null rather than default value.
2017-07-12 17:13:23 +08:00
2480b50589
executor: support SQL mode NO_AUTO_VALUE_ON_ZERO ( #3661 )
...
* support sql_mode NO_AUTO_VALUE_ON_ZERO
2017-07-08 22:22:07 +08:00
1d0fca7bce
executor: fix some compatibility prob in multi update ( #3651 )
2017-07-07 11:17:29 +08:00
0e0e48e6a6
executor, util: fix invalid time format "YY-MM-DD HH:MM"( #3509 ) ( #3511 )
2017-06-20 15:40:35 +08:00
cae65ff127
executor, util: fix gorm-test when cast a value to varbinary(N) ( #3379 )
2017-06-04 21:18:47 +08:00
f83bdd0aaf
*: fix 3235 ( #3358 )
2017-05-31 23:27:47 +08:00