Commit Graph

1379 Commits

Author SHA1 Message Date
0d7a71cf16 executor: support table partition in show create table stmt (#6292) 2018-04-16 22:10:56 +08:00
3513319106 support insert ignore on duplicate update (#6283) 2018-04-13 23:11:50 +08:00
9fbf8a6637 stats: dynamically update the average column size (#6170) 2018-04-13 16:31:43 +08:00
f890b85915 plan: always clone Expression when set it to plan. (#6263) 2018-04-13 14:30:08 +08:00
533fac12b8 *: support create table with range type table partition. (#6251) 2018-04-12 21:56:27 +08:00
e2b033d1c0 *: add a tidb system variable tidb_hash_join_concurrency (#6244) 2018-04-12 20:28:19 +08:00
27fa552fa6 *: show memory usage in "show processlist" (#6266) 2018-04-12 11:44:50 +08:00
d4d1851a39 executor: fix index lookup join hang (#6267) 2018-04-11 18:41:26 +08:00
922ba2464c *: make explicit timestamp on (#6238) 2018-04-11 15:36:26 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +08:00
582e33a0e4 *: use tidb_index_lookup_join_currency to control the number of IndexLookupJoin inner workers (#6240) 2018-04-10 10:05:00 +08:00
2b2522be36 *: fix writing null value into not null column in write-only state. (#6249) 2018-04-10 09:21:41 +08:00
13a7f1943c *: fix data race in plan cache (#6234) 2018-04-09 08:24:38 +08:00
3ecf6bd6c8 executor: fix insert on duplicate update (#6235) 2018-04-09 00:13:38 +08:00
fe60be9f7f executor: remove Row (#6236) 2018-04-08 22:28:25 +08:00
7d32a7e847 executor: remove unused field (#6232) 2018-04-08 21:09:47 +08:00
fbae31e959 executor: optimization for insert on duplicate key update (#6194) 2018-04-08 15:12:21 +08:00
6287cfb8c2 *: modify 'session transaction isolation level' to take effect once (#6175) 2018-04-04 18:39:44 +08:00
6ff44c7878 kv: merge batch get results to fix insert ignore in a transaction block (#6215) 2018-04-04 13:35:54 +08:00
056161d6ae stats: fix row count estimation for null (#6203) 2018-04-04 10:59:40 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
17fb7d7872 executor: remove joinResultGenerator.emit and rename emitToChunk to emit (#6216) 2018-04-03 19:42:02 +08:00
73c3a82b8f executor: improve performance of aggregation which have no group-by item. (#6210) 2018-04-03 16:01:59 +08:00
905eda7ff5 stats: fix row estimation for pseudo unique key (#6199) 2018-04-02 20:27:58 +08:00
39a2f84231 executor: support cleanup dangling index data command (#6102) 2018-04-02 18:26:23 +08:00
83066fc954 executor: track memory usage for nested loop apply (#6171) 2018-04-02 13:54:12 +08:00
a6976c0ca9 ddl:support alter table comment (#6127) 2018-04-02 11:43:12 +08:00
ca0e0dbe75 Improve the aesthetics of code review (#6130) 2018-04-01 18:09:35 +08:00
491f58d7d8 executor: track memory usage for merge join (#6172) 2018-03-31 17:17:23 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
8e431aab3f executor,store: make leak test more stable (#6196) 2018-03-30 20:30:29 +08:00
9c4cef8e04 executor: remove unused codes (#6193) 2018-03-30 19:38:07 +08:00
f89f48b799 executor: remove Next function of IndexReaderExecutor (#6165) 2018-03-30 14:20:07 +08:00
564e8896df executor: track memory usage of index lookup join (#6169) 2018-03-30 10:48:11 +08:00
0d785473d2 executor, plan: convert Limit to TableDual when meet limit 0 (#6185) 2018-03-29 21:56:35 +08:00
df6f955fe8 stats: update the histogram using feedback (#6086) 2018-03-29 13:29:04 +08:00
5309efe748 executor: make the message of ErrDataTooLong consistent with MySQL (#6166) 2018-03-29 11:27:16 +08:00
8941ba91a1 executor: Remove Next() in IndexLookUpExecutor (#6145) 2018-03-28 19:52:47 +08:00
936d7b7d29 executor, memory: detach from parent when executor is closed (#6148) 2018-03-28 15:52:34 +08:00
0dd2ee5208 *: Support "show grants for current_user();" (#5697) 2018-03-28 00:45:59 +08:00
defccc1acd executor: fix admin check table bug when the column is nil and has a default value (#6142) 2018-03-27 17:35:21 +08:00
faeaccc35e executor:Improve the aesthetics of code review (#6138) 2018-03-26 22:19:49 +08:00
aa04cb6488 executor: delete the obsolete Next() function in TableReaderExecutor (#6146) 2018-03-26 21:50:32 +08:00
96a51da57c * Add conn ID to the transaction log (#6115) 2018-03-26 20:13:07 +08:00
a3e4a92f47 stats: control collection of feedback (#6085) 2018-03-26 19:03:21 +08:00
adfec7a822 executor: push some flags down to coprocessor (#6149) 2018-03-26 17:46:16 +08:00
3ff51fb7e9 store/tikv: fix a potential goroutine leak problem in copIterator (#6140)
copIterator.Close() closes finished channel and wait for worker goroutines to
exit, worker goroutine send response to channel but nobody receive from the
channel (copIterator already closed), so those goroutine leak and Close() function
hang forever.

Change the worker goroutine to check both response channel and finished channel.
2018-03-26 02:48:29 -05:00
4ac14515bd store/tikv,mocktikv: tikv.Client.SendRequest API tiny refactor (#6103)
rename SendReq to SendRequest, add a timeout parameter,
and more elegant code for timeout API
2018-03-26 00:42:18 -05:00
6ff87d649a ddl, tables: remove useless NewIndexWithBuffer (#6126) 2018-03-23 15:42:29 +08:00