Commit Graph

8026 Commits

Author SHA1 Message Date
038201caed config: add MaxProcs (#5612)
Make CPU configurable.
2018-01-10 20:12:23 +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
6f86ddda7c kv_encoder: add lock to storeBootstrapped (#5595)
Make init kv_encoder parallelly be possible.
2018-01-10 14:32:47 +08:00
9fec4723f9 ddl: update the behavior when 'RunWorker's' is false (#5598) 2018-01-10 13:25:27 +08:00
b7e7cd5d9a executor: lazily initialize InsertValues.colDefaultVals, because not every insert statement needs it. (#5589) 2018-01-09 22:36:04 +08:00
c56c3de68b tidb: upgrade username length limit to 32 (#5588) 2018-01-09 03:17:06 -06:00
db328586b6 stats: speed up row count estimation (#5579) 2018-01-09 15:37:49 +08:00
648640b5b3 ranger: avoid overflow and truncate error when building range. (#5577) 2018-01-09 12:38:53 +08:00
5db9ac2506 types,util/chunk: refactor Time for Chunk. (#5571) 2018-01-09 10:12:27 +08:00
e9b450aa0a table: InsertExec eliminate unnecessary CastValue. (#5581) 2018-01-08 19:21:04 +08:00
ee3c30fa65 table: store writableIndices in Table, avoid unnecessary operations. (#5580) 2018-01-08 16:55:34 +08:00
4c63b26270 plan: fix issue#5570. (#5574) 2018-01-08 16:41:03 +08:00
5692f459af expression: refine the type infer of group_concat (#5573) 2018-01-08 16:21:44 +08:00
a7a9f4b9f6 remove glide files (#5576) 2018-01-08 15:34:11 +08:00
136462d76a use dep instead of glide (#5558) 2018-01-08 11:00:06 +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
07dc46d3cb expression: refactor hybrid type expressions (#5550) 2018-01-06 11:04:50 +08:00
6943463c87 tidb-server:Remove the override of GOMAXPROCS (#5567)
From Go 1.5, the default setting of GOMAXPROCS is the number of
CPUs available, and we need 1.9 or above now. we might as well
remove this so people can set GOMAXPROCS to a custom value using
environment variables.
2018-01-06 10:49:41 +08:00
bc459c5261 executor: support Chunk for HashAggExec (#5244) 2018-01-06 10:21:52 +08:00
c7b13ef1af plan: refine code. (#5565) 2018-01-05 23:47:33 +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
97ae04a37c expression: consider time zone for builtin function curtime/sysdate/curdate (#5548) 2018-01-04 16:40:09 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
e8f3828752 *: fix bug when init HTTP stats handler (#5555) 2018-01-04 15:10:01 +08:00
ea3b49af4a store/tikv: implement coprocessor streaming in mocktikv (#5466) 2018-01-04 14:58:51 +08:00
01f132ed39 stats: fix bug when estimating row count for outdated histograms (#5552) 2018-01-04 14:31:25 +08:00
f744c777de parser: Support PACK_KEYS option in CreateTable statement (#5554)
Parse but ignore it.
2018-01-04 13:37:49 +08:00
76bce9d4cd docs: get table schema by "table_id" not "tableid" (#5527) 2018-01-04 11:49:31 +08:00
9863cc0f51 tidb: move loadCommonGlobalVariablesIfNeeded to Execute (#5547) 2018-01-04 11:32:57 +08:00
664ec4f182 *: checkout to that branch before pulling data from upstream (#5543) 2018-01-04 11:22:20 +08:00
835b764db3 stats: fix bug when build histograms for null json (#5545) 2018-01-04 11:15:32 +08:00
4d5dd323d9 *: the result of admin show ddl ... shows a job‘s start time (#5517) 2018-01-04 10:50:35 +08:00
019dbb7c9b executor: support Chunk for StreamAggExec (#5490) 2018-01-03 19:47:18 +08:00
ed7f400d9d plan: reuse expressionRewriter. (#5537) 2018-01-03 16:39:14 +08:00
526294e63b plan: check decimal|numeric flen or decimal is valid (#5530) 2018-01-03 16:03:21 +08:00
7c23a84a2c server, statistics: add dump_stats api for debug (#5534) 2018-01-03 14:47:56 +08:00
3e3b633963 distsql: let the coprocessor streaming API use StreamResponse (#5389) 2018-01-03 14:12:20 +08:00
b10a65dca1 plan: covert max/min to topN. (#5516) 2018-01-02 22:30:17 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
132626e4f6 ddl: fix rawArgs is overwritten (#5531)
* ddl: fix rawArgs is overwritten
2018-01-02 17:03:58 +08:00
682bec01f6 meta: tiny clean up (#5538) 2018-01-02 15:58:52 +08:00
bb2440b636 store: enable builtin aggregation function 'bit_and', 'bit_or', 'bit_or' (#5533) 2018-01-02 02:09:25 +08:00
fea4b02ff3 expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1 (#5523)
* expression, types: "Flen" and "Decimal" of "TypeNewDecimal" should not be -1
2017-12-31 12:23:04 +08:00