Commit Graph

8026 Commits

Author SHA1 Message Date
dd98c7050e variable: fix NewSessionVars (#6272)
Set IndexLookupJoinConcurrency to default value.
If this value is init as 0, index lookup join will hang forever.
2018-04-11 21:44:10 +08:00
1518319517 Makefile: split make check into multiple targets (#6253)
Makes it convenient when we only need to check one of the targets.
2018-04-11 20:37:19 +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
472a4fafc5 README: update TiDB feature description (#6261) 2018-04-11 10:39:47 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
e2269bed01 *: make query feedback compatiable with tikv (#6257) 2018-04-10 21:09:25 +08:00
17c737b250 expression: optimize the Clone of Constant. (#6262) 2018-04-10 19:47:24 +08:00
19573c6754 *: update stats using query feedback (#6197) 2018-04-10 19:12:38 +08:00
602c6fc6f1 config: increase the default lease. (#6255) 2018-04-10 17:05:37 +08:00
d1fcbc0382 config: make pseudo estimate ratio configurable (#6254) 2018-04-10 14:45:15 +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
5200cf12f4 store: use MVCCLevelDB in 2pc_test.go testCommitterSuite (#6246)
* MVCCLevelDB is the default MVCCStore used by mocktikv, and the de facto
local store implementation, so test code should use this one.
2018-04-09 22:36:52 +08:00
90454441e5 store/mockstore: Add DeleteRange to mock MvccStore and MVCCLevelDB (#6150) 2018-04-09 05:27:27 -05:00
e748c92b50 store/tikv: refactor copIterator (#6225) 2018-04-09 17:27:40 +08:00
71b7704820 ddl: remove the unstable check (#6242) 2018-04-09 16:51:13 +08:00
76932395c3 expression: make inferring of decimal for unix_timestamp be more consistent with MySQL (#6233) 2018-04-09 11:40:24 +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
9382be808f ddl: wait for 2*lease when finishing delete-reorg in a rollback operation (#6226) 2018-04-08 23:57:56 +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
bfb6ec2ae8 distsql: remove unused code (#6227) 2018-04-04 23:19:57 +08:00
9e176eaa60 store/tikv: Add raw delete range API (#6157) 2018-04-04 22:22:54 +08:00
7de583383c ddl: make testleak be more stable. (#6224) 2018-04-04 20:33:48 +08:00
cb04e97abf ddl, meta: clean the jobs in adding index queue (#6161) 2018-04-04 19:04:48 +08:00
6287cfb8c2 *: modify 'session transaction isolation level' to take effect once (#6175) 2018-04-04 18:39:44 +08:00
0c58e9f51f ddl: make the test stable (#6223) 2018-04-04 16:59:53 +08:00
6395b58edd mocktikv: update mvcc debug api. (#6222) 2018-04-04 15:59:31 +08:00
bc7638d25e store/tikv: coprocess streaming tiny fix (#6186) 2018-04-04 01:08:48 -05: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
313d9d3660 parser: fix the result of cast (0x10 as binary(2)). (#6211) 2018-04-03 21:44:36 +08:00
42f9ddae7a column: fix zero value for binary type (#6213)
Zero value for BINARY type should be byte slice with length.
2018-04-03 20:58:10 +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
57afbe2680 session: upgrade mysql.db user column length to 32 (#6209)
To keep consistent with MySQL, so we won't meet this error:

tidb(127.0.0.1)> grant all privileges on test.* to 'abcddfjakldfjaldddds'@'%' identified by '';
ERROR 1406 (22001): Data too long for column 'User' at row 1
2018-04-03 05:39:50 -05:00
26525d1a63 config: remove useless 'enable-chunk' config item (#6212) 2018-04-03 17:41:29 +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
fddaf75a32 ddl: delete ranges when rolling back 'add index' (#6188) 2018-04-02 16:54:08 +08:00
1bcf1dccb6 vendor: update kvproto (#6198)
Add to region request test
2018-04-02 15:03:09 +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
adbd31ebf6 kv: tiny clean up (#6191) 2018-04-01 21:40:14 +08:00
ca0e0dbe75 Improve the aesthetics of code review (#6130) 2018-04-01 18:09:35 +08:00
365619d66b *: add metrics for queries using plan cache (#6195) 2018-04-01 18:03:16 +08:00