88b8740724
*: avoid the generation of mysql.TypeNewDate ( #5705 )
2018-01-23 21:41:02 +08:00
307e642565
store/tikv: remove WithCancel in copIterator. ( #5701 )
...
Since we already have `finished` channel to make the worker exit, we don't need to select
on `ctx.Done`, instead, we can only select `ctx.Done` in `Next`, and close the `finished` channel.
This avoid the cost to create context by `WithCancel` and select on extra channel.
2018-01-23 17:56:13 +08:00
225d69053e
executor: avoid unnecessary log format in slow query log ( #5696 )
2018-01-23 11:28:21 +08:00
dffc8c974d
executor, parser: treat tx_isolation, transaction_isolation or tx_read_only, transaction_read_only as synonyms variable ( #5700 )
2018-01-22 23:15:17 +08: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
fc6376981d
*: remove GetSessionVars() in expression evaluation ( #5683 )
2018-01-22 11:04:32 +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
b020c7c564
executor: improve the sort efficiency on "lookupTableTask.rows" ( #5675 )
2018-01-18 20:32:13 +08:00
c5c0714cde
executor, sessionctx, util: log a warning when memory usage of HashJoinExec exceed threshhold ( #5658 )
2018-01-18 11:14:25 +08:00
8f1f0af39d
executor: close the children of HashJoinExec and UnionExec after close goroutine finish ( #5669 )
2018-01-17 23:09:25 +08:00
5bf8972460
aggregation: "group_concat" should not modify the argument during execution ( #5664 )
2018-01-17 22:01:36 +08:00
f57b8438bc
table: index.addindices reuse temp buffer ( #5600 )
2018-01-17 05:32:30 -06:00
6fb97e8f25
executor: correct the unsigned pk's behavior. ( #5641 )
2018-01-16 18:21:10 +08:00
0e61c85918
store/tikv: call Next() after copIterator closed lead to goroutine leak ( #5624 ) ( #5654 )
2018-01-16 15:32:58 +08:00
9f2ff293dd
*: make MVMap.Get() be able to reuse the value buffer pre-allocated ( #5644 )
2018-01-16 15:15:25 +08:00
9b1d26e795
executor: rename "new_index_lookup_join.go" to "index_lookup_join.go" ( #5652 )
2018-01-16 13:59:32 +08:00
d6d9419cb6
executor: remove old, never used "IndexLookUpJoin" ( #5649 )
2018-01-16 13:39:06 +08:00
4df3a04023
executor: fillDefaultValues store casted default values ( #5586 )
2018-01-15 20:24:50 +08:00
2550969cae
aggregation, plan: split the presentation and evaluation layers of aggregation functions ( #5635 )
2018-01-15 15:48:03 +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
d568bf7f7c
executor: refactor the way to compare rows in MergeJoinExec ( #5640 )
2018-01-15 12:41:07 +08:00
4d50ae22bc
kvencode: enable prepare plan cache. ( #5627 )
2018-01-14 15:04:36 +08:00
3ce567630b
executor: store column's fieldType in executor ( #5619 )
2018-01-12 16:57:31 +08:00
3cff21e5b1
plan, executor: avoid children type assertion. ( #5616 )
2018-01-12 15:39:50 +08:00
18ba3470f6
stats: adjust CM sketch default size ( #5614 )
2018-01-12 14:29:46 +08:00
31b606d30d
executer: optimization for insert ignore ( #5508 )
2018-01-12 11:09:25 +08:00
4dd1fc208d
codec, expression: support encoding a Chunk row ( #5578 )
2018-01-11 20:29:31 +08:00
f8a2c807fd
executor: support Chunk for ExecuteExec ( #5410 )
2018-01-11 18:38:12 +08:00
5a555703c0
*: garbage collect useless stats info ( #5587 )
2018-01-11 17:10:30 +08:00
20f85865f0
executor: close hashjoin goroutines as soon as possible to avoid unexpected error ( #5620 )
2018-01-11 16:22:44 +08:00
f4fa60d306
executor, expression: support chunk for HashJoinExec ( #5439 )
2018-01-10 22:06:58 +08:00
6f2a8577b9
chunk: "setMutRowJSON" should allocate one more byte for null bitmap ( #5603 )
...
* chunk: "setMutRowJSON" should allocate one more byte for null bitmap
* address comment
2018-01-10 21:35:01 +08:00
3e298e3390
executor: "fetchShowTableStatus" should append an integer to the third column instead of a string ( #5608 )
2018-01-10 17:05:23 +08:00
3cd10669a0
plan, executor: change 'out of order' to 'keep order'. ( #5607 )
2018-01-10 15:57:31 +08:00
4136b81c23
*: merge IntColumnRange with NewRange. ( #5591 )
2018-01-10 15:50:58 +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
4c63b26270
plan: fix issue#5570. ( #5574 )
2018-01-08 16:41:03 +08:00
eddff3429a
*: importing data reduce memory allocations. ( #5549 )
2018-01-07 12:48:07 +08:00
ecbd60c3ff
*: add arguement StatementContext to Encode functions. ( #5566 )
2018-01-06 17:31:08 +08:00
de992eb570
expression: only do a shallow copy when evaluating a "Column" expression ( #5542 )
2018-01-06 12:24:30 +08:00
bc459c5261
executor: support Chunk for HashAggExec ( #5244 )
2018-01-06 10:21:52 +08:00
c45111d9f6
stats: use more compact structure for histograms ( #5539 )
...
* stats: use more compact structure for histograms
* address comments
* address comments
* refine code
* address comment
2018-01-05 20:43:01 +08:00
8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
73e47e0e30
plan: refine the design of schema ( #5541 )
2018-01-05 12:54:24 +08:00
c19307c41c
util, executor: refactor Chunk.AppendRow to handle virtual row ( #5563 )
2018-01-05 12:35:21 +08:00
04ef7d7992
*: shard implicit row ID ( #5513 )
2018-01-04 16:32:41 +08:00
019dbb7c9b
executor: support Chunk for StreamAggExec ( #5490 )
2018-01-03 19:47:18 +08:00
b10a65dca1
plan: covert max/min to topN. ( #5516 )
2018-01-02 22:30:17 +08:00