Commit Graph

961 Commits

Author SHA1 Message Date
6d133085bc infoschema: fix not null flag does not work (#6048) 2018-03-19 15:10:38 +08:00
c2c85b3102 executor, util: refine row.GetMyDecimal (#6077) 2018-03-16 22:55:16 +08:00
6a826fd0aa *: collect query feedback (#5909) 2018-03-12 15:37:09 +08:00
1cb6f19384 distsql: add unit test for distsql.go (#5928) 2018-03-12 14:10:03 +08:00
a90ee13c9f config: update config template (#5963)
* update config template
2018-03-07 10:56:45 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
89dd754579 *: Improve code readability and unified aliases (#5958) 2018-03-06 10:25:18 +08:00
9f40ef7c9b ranger: remove invalid interval when building range. (#5939) 2018-03-03 09:14:11 +08:00
11023636aa util: update tikv version (#5930) 2018-03-01 19:30:12 +08:00
bf5cae2074 *: support stream agg on TiKV (#5725)
* *: support stream agg on TiKV
2018-03-01 12:51:01 +08:00
45dc066401 codec: improve the performance of decoding decimal (#5921) 2018-02-28 20:21:31 +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
aeb6c771e1 *: Update go version (#5885)
update go version to 1.10 and re-format with newest gofmt
2018-02-22 04:47:42 -06:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
d9e16e104f *: Cleanup code (#5852) 2018-02-12 23:17:03 +08:00
f3b8b04b69 util/admin: clean up and add comparing table and index count func (#5869) 2018-02-12 18:27:18 +08:00
353d0adb8a util/systimemon: add keep alive metrics, used to figure out tidb instance is down. (#5847) 2018-02-12 17:34:02 +08:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
c92b3056c0 *: refine code for StmtTxn (#5763) 2018-02-08 07:07:12 -06:00
59720b6313 util: add GoVersion info for tidb_version (#5828) 2018-02-08 18:27:31 +08:00
274a344ad1 server: fix sub query error in prepare statement (#5761) 2018-02-06 06:49:38 -06:00
8cc9e45f41 variable,printer: add a session variable to show configuration. (#5784) 2018-02-05 22:54:41 +08:00
d95f96505a *: refine join result generator to return MaxChunkSize chunk (#5715) 2018-01-31 20:00:59 +08:00
f1eefc147b *: handle dirty table in StmtTxn (#5711) 2018-01-31 02:30:06 -06:00
ac4229aed0 plan, ranger: index range calculation enhancement. (#5611) 2018-01-31 15:35:59 +08:00
9e67bd8cbe *: add metrics package and recover panic of workers. (#5733) 2018-01-31 12:16:01 +08:00
04960d4fe9 log_util:let slow query entry keep order (#5732) 2018-01-28 17:26:38 +08:00
99eaee7117 util: make list.MemoryUsage() be more efficient (#5723) 2018-01-26 20:07:00 +08:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
2cdb9d513b chunk:add more benchmarks (#5710) 2018-01-25 13:32:36 +08:00
888bc2a602 *: uniform the way to iterate rows within a Chunk (#5674) 2018-01-22 11:34:04 +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
74e8c13051 kv_ecndoer: add some test cases about rebase allocator id. (#5668) 2018-01-17 19:24:34 +08:00
6fb97e8f25 executor: correct the unsigned pk's behavior. (#5641) 2018-01-16 18:21:10 +08:00
9f2ff293dd *: make MVMap.Get() be able to reuse the value buffer pre-allocated (#5644) 2018-01-16 15:15:25 +08:00
f8c8697aae util: add an interface for Chunk to count the memory usage (#5645) 2018-01-15 17:55:21 +08:00
ea099f281b *: Add go version in tidb version info (#5636) 2018-01-14 19:48:52 +08:00
4d50ae22bc kvencode: enable prepare plan cache. (#5627) 2018-01-14 15:04:36 +08:00
3cff21e5b1 plan, executor: avoid children type assertion. (#5616) 2018-01-12 15:39:50 +08:00
4dd1fc208d codec, expression: support encoding a Chunk row (#5578) 2018-01-11 20:29:31 +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
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
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
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