Commit Graph

8026 Commits

Author SHA1 Message Date
384a1080e7 stats: fix estimation in between row count (#5682) 2018-01-19 11:35:30 +08:00
45d916b445 tables: Rename a variable (#5673) 2018-01-18 23:09:31 +08:00
8069afd38c server: optimize com_field_list, make use database faster. (#5677) 2018-01-18 22:17:39 +08:00
b020c7c564 executor: improve the sort efficiency on "lookupTableTask.rows" (#5675) 2018-01-18 20:32:13 +08:00
e29e35839a plan: no need to pass the ctx to logicalOptRule (#5671) 2018-01-18 17:33:17 +08:00
e1c927b416 *: fix information schema data race. (#5672) 2018-01-18 17:22:06 +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
da08b56a42 vendor: bump etcd to 3.2.14 (#5646) 2018-01-17 22:33:24 +08:00
5bf8972460 aggregation: "group_concat" should not modify the argument during execution (#5664) 2018-01-17 22:01:36 +08:00
bdf15d5ec7 table: refine utf8 error message. (#5667) 2018-01-17 20:20:28 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
74e8c13051 kv_ecndoer: add some test cases about rebase allocator id. (#5668) 2018-01-17 19:24:34 +08:00
90d653c8ca tidb: do not add history for read-only statements. (#5660) 2018-01-16 23:44:34 +08:00
4345458d14 stats: refine the behavior when updating stats delta (#5647) 2018-01-16 18:43:26 +08:00
6fb97e8f25 executor: correct the unsigned pk's behavior. (#5641) 2018-01-16 18:21:10 +08:00
253add2299 plan: update index lookup join cost (#5655)
KeepOrder is not needed and batch size is not 1 anymore.
2018-01-16 17:26:09 +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
45f00fe55a server: close result set for FieldList (#5650) 2018-01-16 15:01:12 +08:00
4f9815d8e4 stats: fix resource leak (#5653) 2018-01-16 14:55:50 +08:00
a374fd2c80 gcworker: fix resource leak. (#5651) 2018-01-16 14:36:35 +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
096190775e session: add session variable to log query string. (#5633)
Use an atomic global variable to control the switch to log query.
And the query is logged before execution.
2018-01-16 10:12:51 +08:00
4df3a04023 executor: fillDefaultValues store casted default values (#5586) 2018-01-15 20:24:50 +08:00
67e067a78b ddl: update the ctx of restart syncer (#5610) 2018-01-15 19:16:32 +08:00
f8c8697aae util: add an interface for Chunk to count the memory usage (#5645) 2018-01-15 17:55:21 +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
bd5309437e ddl, model: clean up (#5583)
* ddl: rename updateTableInfo to updateVerAndTblInfo and add finish function
2018-01-15 13:16:01 +08:00
d568bf7f7c executor: refactor the way to compare rows in MergeJoinExec (#5640) 2018-01-15 12:41:07 +08:00
ea099f281b *: Add go version in tidb version info (#5636) 2018-01-14 19:48:52 +08:00
cc808a51aa parser: Support the ODBC syntax of time/date/timestamp literal (#5634) 2018-01-14 16:04:29 +08:00
4d50ae22bc kvencode: enable prepare plan cache. (#5627) 2018-01-14 15:04:36 +08:00
ccd11f1409 bump logrus version (#5631) 2018-01-13 19:18:16 +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
dcca160d29 ddl: tiny clean up (#5615) 2018-01-11 20:01:52 +08:00
849e96a3eb make bench_test.go work again (#5618) 2018-01-11 19:49:37 +08:00
f8a2c807fd executor: support Chunk for ExecuteExec (#5410) 2018-01-11 18:38:12 +08:00
547ecacadd doc: dep cleanup (#5621) 2018-01-11 18:17:33 +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
610282c22f plan: rename convert2NewPhysicalPlan to convert2PhysicalPlan (#5613) 2018-01-11 14:00:29 +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