a60bbd9560
expression: refactor "helper.go" ( #4593 )
2017-09-22 18:54:04 +08:00
fc8b2ee47c
fix #4514 ( #4517 )
2017-09-14 15:31:20 +08:00
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -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
881d76840b
plan,executor: calculate generated columns in CRUD. ( #3951 )
2017-08-23 14:52:43 +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
f5fd467f46
*: change terror.ErrorEqual to Error.Equal, which is more effetive ( #4217 )
2017-08-17 20:06:48 +08:00
c7c248eb91
executor: change struct row to []types.Datum ( #4072 )
2017-08-09 18:37:57 +08:00
059f6dd2f1
executor, expression, plan: remove rowMeta from row ( #3758 )
2017-08-04 18:37:31 +08:00
dff73cc6e4
*: Modify the Makefile for go vet ( #3900 )
2017-07-30 23:02:52 -05:00
597796e166
*: fix bad column offsets in DML. ( #3754 )
2017-07-28 20:56:25 +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
b5e6c0291a
plan, executor: fix multi-update. ( #3531 )
...
* plan, executor: make multi-update be compatible with MySQL.
2017-06-28 13:53:06 +08:00
2b4a3ce5e6
parser: parse "select HIGH_PRIORITY ..." statement ( #3466 )
2017-06-26 17:19:10 +08:00
0343dac8e7
plan: forbidden modify generated column by insert/update. ( #3434 )
2017-06-14 16:08:14 +08:00
77b87ed170
variable: remove GoSQLDriverTest ( #3361 )
2017-05-31 11:43:38 +08:00
345b30b929
executor: update an error code ( #3276 )
2017-05-16 18:07:49 +08:00
213954d2e7
*: add specified columns for LOAD DATA INFILE Syntax ( #3240 )
...
* : add specified columns for LOAD DATA INFILE Syntax
2017-05-15 16:40:47 +08:00
5f34aa4776
*: Add warnings for load data ( #3224 )
2017-05-11 08:11:52 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
42dec329fe
session: return correct LastInsertID. ( #3071 )
...
When insert into an auto_increment column with a given value, the last insert id write to client should be the value.
2017-04-18 18:53:24 +08:00
3126e5e341
*: online update count in table stats. ( #3053 )
...
When insert and update happens, we will cache the changed info in every session. After a duration(five minutes now) passes, handle will sweep every cache and merge them. Then dump the delta info to TiKV.
2017-04-15 21:20:44 +08:00
a168f413ba
executor: reduce memory usage and GC overhead for hash join. ( #2957 )
...
Implemented and use MVMap to reduce GC overhead and memory usage for hash join.
2017-03-30 23:04:02 +08:00
e068663cdc
Auto split insert data into multiple batches. ( #2958 )
...
Add a sysvar to enable batch insert data and disable batch insert in transaction.
2017-03-30 14:57:55 +08:00
7aa024c9a0
*: add UTF8 check global variable. ( #2899 )
2017-03-23 08:56:21 +08:00
0282310e8b
executor,localstore: use default value if column not found in row. ( #2703 )
2017-02-23 15:18:57 +08:00
faf74ee5ca
executor: fix a bug when subquery meet update. ( #2669 )
2017-02-18 19:18:50 +08:00
31d3b87704
executor: fix a bug about table name comparison ( #2643 )
2017-02-15 13:27:56 +08:00
7965666bce
executor: ajust some code. ( #2574 )
2017-01-30 09:45:50 +08:00