Commit Graph

4575 Commits

Author SHA1 Message Date
46e37a1700 executor: generalize SHOW TABLE t NEXT_ROW_ID for auto_random and sequences (#16821) 2020-04-29 20:00:26 +08:00
51dabaabef *: refactor Handle in executor package (#16871) 2020-04-28 21:27:19 +08:00
092dbc0326 executor: remove useless union scan codes (#16683) 2020-04-28 16:46:05 +08:00
3a07cf7fcc executer: add Cop_time in slow log (#16873) 2020-04-28 15:08:09 +08:00
26e208b9df executor, types: copy enum/set instead of refer the underlying data (#16858) 2020-04-28 13:00:40 +08:00
b32e834a8d server: let select for update could be recorded for slow log and statements (#16743) 2020-04-28 12:11:56 +08:00
38f4d869d8 fix auto random base comment in show.go (#16859)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-27 17:04:36 +08:00
468b8c6f7b executor, privilege: introduce a new privilege for the set config statement (#16847) 2020-04-27 14:17:38 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
a731265f65 executor: do not quote numbers in JSON data when using set config #16829 (#16835) 2020-04-26 23:17:20 +08:00
d9c3617a1c fix test fail in TestAutoRandomTableOption (#16836) 2020-04-26 17:01:39 +08:00
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