Commit Graph

6474 Commits

Author SHA1 Message Date
03a445a5ce session: call "begin" in a transaction will auto commit, log this operation (#6122) 2018-03-23 11:37:24 +08:00
688690a07f plan: UnionScan's predicates should be cloned ones. (#6124) 2018-03-23 10:13:23 +08:00
d3c5f7f6d6 store/tikv: make tikv_integration_test more stable (#6113) 2018-03-23 00:12:13 +08:00
838ac2f199 plan: rename dagPhysicalOptimize to physicalOptimize (#6117) 2018-03-22 22:29:01 +08:00
a90ecea7dd executor: remove some remained unused functions for removing Executor.Next (#6112) 2018-03-22 21:34:52 +08:00
a7efc34b86 ddl: remove old logic of adding index (#6118) 2018-03-22 19:55:18 +08:00
lwh
861103b4ae executor: remove Next function for HashAggExec (#5987) 2018-03-22 17:16:51 +08:00
5445e17fac *: fix in-compatible behavior when modify value from Navicat GUI (#6105) 2018-03-22 15:38:27 +08:00
546b5acd1d ddl: speed up add index by split handle range from pd region. (#5964) 2018-03-22 15:30:11 +08:00
27dc8f3550 expression/agg: add ResetContext() for stream aggregation. (#6097) 2018-03-22 13:52:02 +08:00
4241d70646 types: support converting json to float64 (#6081) 2018-03-22 13:37:53 +08:00
22c3c98fb1 stats: fix estimation for pseudo equal row count (#6106) 2018-03-22 11:04:12 +08:00
b242dffeb1 infoschema: set collate and charset to null for non-varchar column type (#6099) 2018-03-22 10:20:42 +08:00
0a70557cea memory: fix data race on concurrent access of Tracker.children (#6108) 2018-03-22 00:26:49 +08:00
736bf4bc4e *: support STRAIGHT_JOIN to disable join reordering (#6007) 2018-03-21 21:22:21 +08:00
d68bf86896 *: remove useless code (#5343) 2018-03-21 10:59:23 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
6f43b37572 Add admin checksum table command (#6067) 2018-03-20 20:46:43 +08:00
db7e6c59ad *: check float/double display width and scale (#6098) 2018-03-20 19:02:32 +08:00
1081126e25 *: fix a data race for SelectForUpdate executor (#6096)
select * from (select * from t for update) t join t1 for update
There will be two SelectForUpdate executors, both modify TxnCtx
in NextChunk
2018-03-20 05:37:30 -05:00
8fa4980ae0 server, tablecodec: show region key's record id or index values. (#6030) 2018-03-20 16:01:46 +08:00
4886dcb1c4 executor: track the memory usage of IndexLookUpExecutor (#6009) 2018-03-20 12:55:12 +08:00
67c948b609 executor: refactor merge join (#6078) 2018-03-20 12:37:40 +08:00
eacca19bde executor: remove Next function for NestedLoopApplyExec (#6027) 2018-03-20 10:44:07 +08:00
7f958c5a40 plan: PossibleProperties can be nil if the agg doesn't have group-by (#6089) 2018-03-19 20:45:09 +08:00
2e7eb39cfb store/tikv: add timeout for region error(not leader) (#6053) 2018-03-19 19:42:40 +08:00
ec78f8bea3 expression/agg: add unit-test. (#6074) 2018-03-19 18:57:28 +08:00
eec1c524dc util: refine Row.GetDatum when tp is MyDecimal (#6087) 2018-03-19 17:11:07 +08:00
6d133085bc infoschema: fix not null flag does not work (#6048) 2018-03-19 15:10:38 +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
11616c46c0 types,expression: make 'invalid time format' error log more friendly (#6069) 2018-03-17 06:40:37 -05:00
ebdcdb1eac executor: remove Next function for prepared.go (#6003) 2018-03-17 08:45:34 +08:00
063924a4f6 executor: remove Next() function for CheckTableExec (#6057) 2018-03-17 08:26:50 +08:00
c2c85b3102 executor, util: refine row.GetMyDecimal (#6077) 2018-03-16 22:55:16 +08:00
4cbdf1e69f executor: remove Next function for SetExec (#6005) 2018-03-16 22:33:27 +08:00
c2d6f917a7 tidb: enable to forbid to retry when commit, add isolation test. (#5990) 2018-03-16 07:52:22 -05:00
f65ece4b4e session: rollback the transaction on Compile error (#6073) 2018-03-16 15:24:16 +08:00
bc1611a8ac executor: Change makeJoinRowToChunk to account for virtual rows (#6049) 2018-03-16 13:27:47 +08:00
e77da7a1a7 expression: add unsigned flag when convert uintPBConstant to Expression (#6071) 2018-03-16 13:04:01 +08:00
9dcab918b6 expression/agg: remove useless code. (#6075) 2018-03-16 12:54:54 +08:00
cf6a0045da executor: remove Next() function for SelectionExec (#6021)
* executor: remove Next() function for SelectionExec
2018-03-16 11:45:49 +08:00
8510bb7671 store/tikv: support retry and timeout for coprocessor streaming API (#5965) 2018-03-15 22:18:44 -05:00
b71badfc6e stats: fix data race when dump stats (#6076) 2018-03-16 10:43:09 +08:00
090f7c5e12 admin: show more information on ddl history (#6035)
* admin:address comments

* output information limit number

* handling comment questions

* handling comment questions

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* *: fix test case

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments

* Address comments
2018-03-16 10:07:50 +08:00
f94e39b86f executor: remove Next function for RevokeExec (#6004) 2018-03-16 09:31:37 +08:00
11f41a3ef8 executor: remove Next function for SimpleExec (#6001) 2018-03-16 09:20:09 +08:00
d81f637bb8 executor: remove Next function for SortExec (#6052)
* executor: remove Next() function for SortExec and TopNExec
2018-03-16 08:43:16 +08:00
3ed700f3c7 Update CONTRIBUTING.md (#6061) 2018-03-16 00:17:59 +08:00
8f4f9b6c90 http: refactor region handler. (#6051) 2018-03-15 18:19:14 +08:00
98a2640286 *: support 'admin recover index' (#5980) 2018-03-15 18:04:35 +08:00