Commit Graph

108 Commits

Author SHA1 Message Date
6569264176 rewrite CheckHandleExists to refactor partition (#7321) 2018-08-08 18:33:09 +08:00
f6dbad0f5c *: move the dirty table modification to table package (#7289) 2018-08-07 15:38:01 +08:00
9813c71498 *: support update operation for table partition (#7166) 2018-08-07 10:34:20 +08:00
581edd4cac executor: set the correct handle in DirtyDB when executing update statements (#7209) 2018-08-01 11:36:22 +08:00
2fba9931c7 *: remove DatumRow (#7165) 2018-07-26 19:42:58 +08:00
ab332eba2a executor: BadNullError should be ignored by insert ignore statement (#6465) 2018-06-29 13:15:31 +08:00
4a36ef721c executor: DML use DatumRow (#6720) 2018-06-01 10:22:02 +08:00
ce071f5dd3 refactor load data (#6665) 2018-05-29 21:19:14 +08:00
36c3f0dd36 split write.go (#6660) 2018-05-28 14:29:42 +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
5c2d21eab4 *: remove function "NewChunk" (#6524) 2018-05-14 13:43:19 +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
0fda3b408f executor: move IgnoreErr to StmtCtx (#6392) 2018-05-02 17:10:59 +08:00
32f4311f07 opt on duplicate update (#6337) 2018-05-02 10:49:54 +08:00
3513319106 support insert ignore on duplicate update (#6283) 2018-04-13 23:11:50 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
2b2522be36 *: fix writing null value into not null column in write-only state. (#6249) 2018-04-10 09:21:41 +08:00
3ecf6bd6c8 executor: fix insert on duplicate update (#6235) 2018-04-09 00:13:38 +08:00
fe60be9f7f executor: remove Row (#6236) 2018-04-08 22:28:25 +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
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
5309efe748 executor: make the message of ErrDataTooLong consistent with MySQL (#6166) 2018-03-29 11:27:16 +08:00
daa866cdd4 executor: remove Next function for executor/write.go (#5995)
remove Next function for DeleteExec && LoadData && InsertExec && ReplaceExec && UpdateExec
2018-03-18 21:10:51 +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
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06: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
c92b3056c0 *: refine code for StmtTxn (#5763) 2018-02-08 07:07:12 -06:00
5d91dbd5a1 executor: pass operator label from Plan to Executor (#5821) 2018-02-08 13:33:11 +08:00
f1eefc147b *: handle dirty table in StmtTxn (#5711) 2018-01-31 02:30:06 -06:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
0b23ff48a6 *: execute statement meets error should make no side effect (#5678) 2018-01-22 13:49:29 +08:00
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +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
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
4df3a04023 executor: fillDefaultValues store casted default values (#5586) 2018-01-15 20:24:50 +08:00
ca97bfffe0 tables: when importing data, table.AddRecord has no needs to use temp BufferStore. (#5617) 2018-01-15 15:13:23 +08:00
3ce567630b executor: store column's fieldType in executor (#5619) 2018-01-12 16:57:31 +08:00
31b606d30d executer: optimization for insert ignore (#5508) 2018-01-12 11:09:25 +08:00
b7e7cd5d9a executor: lazily initialize InsertValues.colDefaultVals, because not every insert statement needs it. (#5589) 2018-01-09 22:36:04 +08:00
e9b450aa0a table: InsertExec eliminate unnecessary CastValue. (#5581) 2018-01-08 19:21:04 +08:00
eddff3429a *: importing data reduce memory allocations. (#5549) 2018-01-07 12:48:07 +08:00
140c3d0739 executor: "InsertExec.NextChunk" should use function "getRowsSelectChunk" (#5493) 2017-12-26 18:24:41 +08:00
c4fb12d60e executor: support Chunk for LoadData (#5465) 2017-12-21 22:44:59 +08:00
fe7900f176 executor: DeleteExec suport NextChunk (#5368) 2017-12-21 15:57:56 +08:00
3c418c5617 executor: implement NextChunk for ReplaceExec (#5370) 2017-12-21 13:41:21 +08:00