Commit Graph

8026 Commits

Author SHA1 Message Date
f4f341b852 *: bump etcd's version to 3.2.18 (#6336) 2018-04-25 14:00:43 +08:00
0d0d9880fc executor: support range column in show create table (#6332) 2018-04-25 13:36:15 +08:00
12dbd32854 *: rename NewRange to Range. (#6368) 2018-04-25 13:13:04 +08:00
090f7e5e22 Makefile: use go get golint again (#6371) 2018-04-25 10:46:47 +08:00
6e317f57dd distsql: make behavior of TableHandlesToKVRanges correct. (#6364) 2018-04-24 23:36:12 +08:00
05bbffec0f *: remove IntColumnRange. (#6366) 2018-04-24 19:37:26 +08:00
39efce670c fix fetch issue of golint (#6363) 2018-04-24 18:56:47 +08:00
2ae5199150 store/tikv: make LockKeys() function thread safe (#6340) 2018-04-24 14:20:11 +08:00
b7e91b432c Makefile: add golint back (#6351) 2018-04-23 22:19:35 +08:00
f80484fe3f Makefile: disable golint (#6348)
golint is broken.
https://github.com/golang/lint/issues/396
2018-04-23 20:56:51 +08:00
fb8efa5596 *: clean up code for set SQL statement priority, let it bypass plan (#6328) 2018-04-21 08:58:24 -05:00
1376b99096 session: cache global variable for a short while (#6315) 2018-04-20 16:56:52 +08:00
5da8ac0957 *: make session variables control TiKV layer. (#6322)
And add a system variable `tidb_backoff_lock_fast` to change the backoff base time on read lock.
2018-04-20 16:06:34 +08:00
7266631988 parser: trying to fix maxvalue list (#6309) 2018-04-20 15:53:17 +08:00
2e18696731 export gc concurrency (#6325) 2018-04-20 14:37:09 +08:00
dbf16092b6 executor, plan: eliminate projection if the schema len is 0 (#6318) 2018-04-20 13:28:49 +08:00
e97d17d96f util/printer: add race enabled in TiDBInfo (#6311)
Makes it easy to check if the binary is build with race.
2018-04-19 21:53:22 -05:00
d521158136 store/tikv/latch: fix a data race in test code (#6324) 2018-04-20 10:04:11 +08:00
d6c04423f6 plan: make agg's cost formula more reasonable. (#6307) 2018-04-19 11:58:15 +08:00
9e3f53c8a7 remove mischange (#6314) 2018-04-18 22:57:42 +08:00
cc8c38d6d8 executor: buffer snapshotChunk to avoid too many object memory allocation (#6312) 2018-04-18 19:42:46 +08:00
5725b43c83 *: remove useless ExprType (#6313) 2018-04-18 18:56:43 +08:00
ffd47ec3b5 expression: refactor scalarFuncToPBExpr (#6290) 2018-04-18 13:33:48 +08:00
58326c844e stats: fix pseudo selectivity for primary key (#6302) 2018-04-18 10:10:03 +08:00
41f5940824 stats: support auto analyze table when modify/count is too high (#6294) 2018-04-17 21:15:35 +08:00
60a9ff5f93 variable: group same kind of variables into structs. (#6297) 2018-04-17 19:49:12 +08:00
1f09f6f32f ddl: support the rolling upgrade. (#6301) 2018-04-17 18:44:06 +08:00
860e808e07 expression: remove mockKVClient (#6299) 2018-04-17 16:11:58 +08:00
c6258e3aeb kvencoder: fix allocator rebase to a smaller newBase (#6296) 2018-04-17 11:29:17 +08:00
0d7a71cf16 executor: support table partition in show create table stmt (#6292) 2018-04-16 22:10:56 +08:00
5cbd8686df mocktikv: tiny update ScanLock and ResolveLock function (#6275) 2018-04-16 21:59:55 +08:00
8777db2d98 session: add session variable tidb_optimizer_selectivity_level. (#6289) 2018-04-16 21:48:37 +08:00
88a6a0de38 variable: set default hash join concurrency in NewSessionVars (#6295) 2018-04-16 20:15:49 +08:00
ab7d85be8a ddl: fix parallel create table if not exists (#6286)
* ddl: fix parallel create table if not exists
2018-04-16 20:05:57 +08:00
d56c1f4ef7 table/tables: add logs when column offsets are wrong (#6293) 2018-04-16 19:31:16 +08:00
3d183a93b1 store/tikv: implement local latch for transaction (#6268) 2018-04-16 17:41:45 +08:00
4024e88c7b ddl: check if the column name already exists when we rename the column name (#6284)
* ddl: fix rename column name problem
2018-04-16 14:04:50 +08:00
d3290b936b HTTP API: support query the DDL history (#6245) 2018-04-16 11:15:48 +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
22ebc282d3 store/mockstore: Fix that DeleteRange didn't encode keys. (#6264) 2018-04-13 00:44:04 -05:00
998f696421 *: support set relation job (#6206) 2018-04-13 10:30:45 +08:00
b51b0dec65 stats: add metrics for dynamic update (#6278) 2018-04-13 09:21:15 +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
28c21c9125 ddl: update the column's offset when we do modify column (#6274)
* ddl: fix modify column bug
2018-04-12 18:50:44 +08:00
ca627fe039 plan: tiny refactor for readability (#6270) 2018-04-12 16:43:18 +08:00
27fa552fa6 *: show memory usage in "show processlist" (#6266) 2018-04-12 11:44:50 +08:00
f21483e6ed expression: add Clone() for builtinFunc 2018-04-11 10:00:19 -05:00