Commit Graph

2814 Commits

Author SHA1 Message Date
82bb3ced74 makefile: let make fmt ensure std imports before non-std (#16816) 2020-04-26 10:37:24 +08:00
7b25ce0d94 *: support auto_random table option (#16750) 2020-04-24 23:14:51 +08:00
5e4a694897 executor: fix slow_query bug when query with time equal condit… (#16768) 2020-04-24 19:13:13 +08:00
4e6e933f6a statistics: fix wrong hash which misses hit by query topn (#16606) 2020-04-24 17:04:12 +08:00
90bfe841ae server: add drop/truncate table tiflash replica info in /tiflash/replica http api (#15699) 2020-04-24 16:00:48 +08:00
e607157efe util, executor: deep clone shallowRow in baseJoiner.Clone (#16644) 2020-04-24 15:10:06 +08:00
aab9917b91 ddl: split partition region when add a new partition (#16537) 2020-04-24 13:17:50 +08:00
35a801bc9b txn: fix read val from lock cache from RC (#16771) 2020-04-24 10:24:49 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
e3669cb1da executor: support 'SET CONFIG' syntax to change configs of TiKV/PD instances (#16480) 2020-04-23 17:09:19 +08:00
d25d0a5d6f executor, config: update the way to show array config items when using show config (#16712) 2020-04-23 16:26:15 +08:00
1bf6fd113a executor: add region sync state (#16724) 2020-04-23 16:14:47 +08:00
e521ea9d89 *: fix the problem that PointGet returns wrong results in the case of overflow (#14776) 2020-04-23 15:18:01 +08:00
c18b6dd2e2 executor: remove useless log (#16385) (#16616) 2020-04-22 23:55:10 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
79211fe63d plan: make query on partition table not cacheable (#16375) 2020-04-22 21:58:20 +08:00
b56733dde1 executor: fix DATA RACE caused by change the global logger whe… (#16722) 2020-04-22 21:47:51 +08:00
d49573e050 *: refine some logs with incorrect collation (#16275) 2020-04-22 15:23:48 +08:00
a9091029b8 *: fix lost index bug of insert on duplicate key update (#16672)
Fix issue #16669

When check the untouched index, we should also check the memory-buffer in the session too.
2020-04-22 11:11:14 +08:00
8c455e86c1 ddl: fix sequence object check error when alter table (#16625) 2020-04-21 10:14:09 +08:00
138f225d62 executor: only return the first row of a subquery (#16399) 2020-04-21 09:45:50 +08:00
5bf9ad7b81 executor: fix load data deal with escape character. (#16340) 2020-04-20 20:33:28 +08:00
8b6d53a4a9 expression: split isTrue and isFalse expression sig (#16542) 2020-04-20 20:11:47 +08:00
2a69052cf1 test: fix unit test and make test running serially. (#16525) 2020-04-20 17:44:26 +08:00
5bdc0eaf50 executor: fix slow_query bug when query with time equal condition (#16445) 2020-04-20 10:52:03 +08:00
a0c7407846 executor: set length and frac when we change zero to decimal t… (#16518) 2020-04-18 00:01:37 +08:00
7106b189df session: refine record execution duration metric (#16453) 2020-04-17 21:50:28 +08:00
25580ea5f4 *: Use a function to get the ONE, ZERO and NULL and fix the clone. (#16512) 2020-04-17 19:11:52 +08:00
6b034d4237 *: fix unexpected error when setting collate for database (#16283) 2020-04-17 18:25:33 +08:00
ff7413fedb planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache (#16321) 2020-04-17 17:15:21 +08:00
4e44a74b16 executor: fix show default num and sequence (#16450) 2020-04-17 16:43:09 +08:00
b8494e7a11 expression: support disable expression pushdown based on store… (#16389) 2020-04-17 14:53:25 +08:00
1f24b9e03b executor, infoschema, util: add sum_errors and sum_warnings to statement summary tables (#16456) 2020-04-17 10:31:35 +08:00
b44f5073e6 executor: support 'SHOW CONFIG' syntax to show configs of PD and TiKV instances (#16230) 2020-04-16 17:51:07 +08:00
d901863643 executor: insert negative primary key into auto_random table won't trigger rebase (#15397) 2020-04-15 20:56:37 +08:00
3edfffa84b Util: Fix global tracker mutex contention (#16298) 2020-04-15 20:37:42 +08:00
0ec8d3300c ddl, executor: forbid truncate view (#16251) 2020-04-15 18:28:43 +08:00
72f4576742 executor, types: set correct collate in newValueExpr (#16323) 2020-04-15 17:38:59 +08:00
557d9d38b6 config: remove the config item 'enable-dynamic-config' (#16358) 2020-04-15 17:28:52 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
8cd377dd07 executor: Improve the performance of aggFuncBitXor by using… (#16091) 2020-04-15 15:03:11 +08:00
7d8baddf29 test: skip plan cache for prepared stmt's cache tests (#16378) 2020-04-15 13:48:17 +08:00
f8381c5310 infoschema: refine some metric table comment and name (#16295)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-04-15 11:40:22 +08:00
e63a10e931 Add the check for expression evaluation in some executors (#16339) 2020-04-15 10:46:02 +08:00
c1a31708b0 executor: fix wrong result for index merge read generate column (#16002) 2020-04-14 17:40:03 +08:00
e90aac2710 executor: add config EnableCollectExecutionInfo (#15493) 2020-04-13 20:45:25 +08:00
32149dcc23 ddl: fix a panic when creating key partition table (#16260)
mysql> create table t(a char(5), unique key(a(5))) partition by key() partitions 5;
ERROR 2013 (HY000): Lost connection to MySQL server during query
2020-04-13 16:53:03 +08:00
8891c9d34e infoschema: fix select * from inspection_summary would return null. (#16099) 2020-04-10 17:25:10 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
36d8171319 expression: fix panic of explain for connection when plan cache is enabled (#16206) 2020-04-10 15:48:17 +08:00