5f468489ab
util: add kvencoder package, make transfer sql to key-values be possible. ( #5236 )
2017-11-29 18:01:31 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
0ff13ce876
executor: simplify logic ( #5185 )
...
* : simplify
2017-11-22 00:55:56 -06:00
16003f0d82
executor: fix missing index update when automatic updating for timestamp 5172 ( #5176 )
2017-11-21 19:04:54 +08:00
c459da6887
*: refactor executor.checkHandleExists to tables.CheckHandleExists to reuse code ( #5157 )
2017-11-20 16:50:22 +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
e362f1ed56
types: add deepcopy for update operation ( #5098 )
2017-11-15 14:46:24 +08:00
cd5c665c8c
executor: use baseExecutor for all Executors ( #5087 )
...
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
1aa2a69f92
expression: remove type assertion on types.DatumRow. ( #5005 )
2017-11-07 14:17:53 +08:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
ad1c532ea5
*: remove unused package and functions ( #5003 )
...
* *: remove unused package and functions
2017-11-04 03:36:25 -05:00
ed7f68ca9b
*: Add Row interface ( #4859 )
2017-10-23 11:36:28 +08:00
16eb0ae33b
executor: fix bug when auto_increment meets unsigned. ( #4824 )
2017-10-19 15:31:16 +08:00
f2f473d02e
executor: little improvement for multi-delete. ( #4742 )
2017-10-11 01:59:54 -05:00
eb8df3519a
*: prepare to enforce errcheck, part1 ( #4670 )
2017-09-30 16:23:37 +08:00
a6756a4eee
*: make insert with calculated value behave the same as MySQL. ( #4603 )
2017-09-27 19:59:31 +08:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
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