Commit Graph

8026 Commits

Author SHA1 Message Date
afd49aad23 ddl: support mock table info. (#5759) 2018-02-01 18:27:55 +08:00
ddca655fcb server: forget to add StmtCommit when loading data (#5758) 2018-02-01 14:22:12 +08:00
d95f96505a *: refine join result generator to return MaxChunkSize chunk (#5715) 2018-01-31 20:00:59 +08:00
059f618717 session: don't retry in BatchInsert mode (#5745) 2018-01-31 04:57:05 -06:00
775dcf4503 stats: support 'load stats' command (#5724) 2018-01-31 17:25:27 +08:00
d8fb5dd487 cmd/importer: specify the config file (#5757) 2018-01-31 16:43:02 +08:00
f1eefc147b *: handle dirty table in StmtTxn (#5711) 2018-01-31 02:30:06 -06:00
7fc27940f7 ddl: improve an error handling (#5748) 2018-01-31 02:05:43 -06:00
ac4229aed0 plan, ranger: index range calculation enhancement. (#5611) 2018-01-31 15:35:59 +08:00
7079f3f0fc domain: refine ddl reload warning log (#5746) 2018-01-31 13:52:54 +08:00
9e67bd8cbe *: add metrics package and recover panic of workers. (#5733) 2018-01-31 12:16:01 +08:00
d520b0bdcc model: remove iota (#5753) 2018-01-31 09:46:50 +08:00
b380e8b702 ast: do statement is read only (#5752) 2018-01-30 02:47:00 -06:00
b5b2db5644 plan: reduce memory allocation in buildDataSource (#5747) 2018-01-30 15:57:42 +08:00
d978c83cd1 plan: remove unneeded lines of code (#5749) 2018-01-30 15:43:54 +08:00
fdd0e6d78b stats, executor: fix drop stats not working (#5739) 2018-01-30 11:19:04 +08:00
b3a514947d executor: set correct collate in show create table (#5744) 2018-01-29 22:16:31 +08:00
1ec74d2d76 owner: Add error check in NewSession (#5731) 2018-01-29 21:16:37 +08:00
cfe44e869a Cleanup vendor (#5726)
* Cleanup vendor
2018-01-29 20:59:23 +08:00
93a042bc95 plan, executor: make explain more clear. (#5742) 2018-01-29 19:12:45 +08:00
3c99bb3c2c fix: scala -> scalar (#5740) 2018-01-29 15:33:38 +08:00
f2d9722d16 limit lock count for scan lock request (#5606)
* limit lock count for scan lock request
* add start key for ScanLock request
2018-01-29 15:03:24 +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
96bd4e1162 executor: refine plan.EvalSubquery to support NextChunk (#5717) 2018-01-26 19:07:18 +08:00
7c5ea170a9 parser: fix Text() in SubSelect parse (#5718)
ex. "SELECT 1 > (select 1)“ , ast.SubqueryExpr#Query's Text() will return "(select ". by mistake.
2018-01-26 00:05:32 -06:00
e09aa114b1 executor: fix MaxOneRow.NextChunk (#5716) 2018-01-26 11:37:48 +08:00
56903136a7 fix comment typo (#5721) 2018-01-26 10:25:41 +08:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
f763e878a8 plan: push down binaryliterals as varstring. (#5665) 2018-01-25 16:17:19 +08:00
a443eea786 Fix typo of parser (#5713) 2018-01-25 15:59:34 +08:00
47cbc0bfce *: remove varsutil package, make Systems a private member of SessionVars (#5544) 2018-01-25 01:43:07 -06:00
41de47cb2a add metrics for gc failure count (#5694) 2018-01-25 14:55:06 +08:00
b5c717a4ea store/tikv: Add metrics for async secondary lock cleanup (#5575) 2018-01-25 00:35:14 -06:00
2cdb9d513b chunk:add more benchmarks (#5710) 2018-01-25 13:32:36 +08:00
147ca6adcf tidb,config: limit statement count in a transaction (#5704) 2018-01-25 13:05:24 +08:00
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
807dc791d4 cmd: add importer tool. (#5695) 2018-01-22 18:48:18 +08:00
0b23ff48a6 *: execute statement meets error should make no side effect (#5678) 2018-01-22 13:49:29 +08:00
1d07320c66 *: support create time in information_schema (#5590) 2018-01-22 13:33:20 +08:00
c6e1466971 plan: remove the rest useless type assertion. (#5693) 2018-01-22 12:43:05 +08:00
236e50a493 format error message when meet datum conv failure (#5689) 2018-01-22 12:18:54 +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
c30309acec server: Add metrics for tidb-server panic (#5692) 2018-01-22 10:15:48 +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
6e772d3963 variable: Enlarge default distsql_scan_concurrency (#5670) 2018-01-19 13:28:50 +08:00