Commit Graph

217 Commits

Author SHA1 Message Date
93c1779f2d *: support show stats_extended to inspect extended stats cache (#23052) 2021-03-03 20:06:58 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
xhe
4172f473da *: adapt new api for the executor package (#22644)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-02-04 17:32:15 +08:00
fdd
2c4a60daff executor: fix tidb can not show view data_type (#22363) 2021-01-12 17:33:28 +08:00
6e2bc8fe01 ddl: filter the feature switches in show variables (#21873) 2020-12-18 15:29:50 +08:00
72d4504f45 planner: fix explain-hint panic for joins generated by subquery (#20675) 2020-12-03 15:18:37 +08:00
90c7987763 executor: add SHOW STATS_TOPN (#21403) 2020-12-01 17:02:51 +08:00
29a83c2cd8 executor hptc ycsb-worloade: Make use of AppendRows in all cases (#21163) 2020-11-29 16:21:00 +08:00
9007614f95 executor: fix wrong is-null result of ShowExec.fetchShowIndex (#20287) 2020-11-10 17:51:12 +08:00
cc7a38327f executor: fix show global variables return session variables also (#19341) 2020-11-02 17:02:51 +08:00
a55a51a163 executor: fix show create table int default value (#20462) 2020-10-28 14:08:37 +08:00
56467c3b4b executor: support show create table for list partition (#20634) 2020-10-27 19:05:59 +08:00
01fdea7b6c executor: show varchar instead of var_string (#19921) 2020-10-04 17:34:03 +08:00
fa81ec51b4 *: refactor sysvars to allow component registration (#20289) 2020-09-29 14:04:24 +08:00
449587a085 *: using standard error to replace terror (#19425) 2020-09-08 20:15:51 +08:00
fd328394d4 executor, ddl: show full tables SYSTEM VIEW info (#19451)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-02 10:01:40 +08:00
1dc67745dd ddl: disallow change auto_random default value by 'ALTER COLUMN' (#19365) 2020-08-24 11:03:14 +08:00
ccfc9b2ad0 executor: add foreign keys to SHOW CREATE TABLE (#18360)
This is backwards compatible with dumpers due to the way that TiDB handles foreign keys (set foreign_key_checks=0 behavior).

Co-authored-by: Nullnotnil <nullnotnil@ubuntu.lan>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-29 17:35:08 +08:00
aa1d2d2b1b executor,ddl: update auto_random_base in 'show create table' after insertion (#18217) 2020-07-01 10:45:26 +08:00
7ca3d9cadc bindinfo, record how bindings are created in SQL bindings. (#17254) 2020-05-27 09:56:40 +08:00
1982be5009 executor: support show table partition regions (#17229) 2020-05-19 19:44:23 +08:00
43764a59b7 RFC + Support of BACKUP and RESTORE statements (#15274) 2020-04-30 19:35: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
7b25ce0d94 *: support auto_random table option (#16750) 2020-04-24 23:14:51 +08:00
6b034d4237 *: fix unexpected error when setting collate for database (#16283) 2020-04-17 18:25:33 +08:00
4e44a74b16 executor: fix show default num and sequence (#16450) 2020-04-17 16:43:09 +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
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
e5bd867c50 executor: show create table ignores 'binary' collate table option (#15842) 2020-04-07 19:24:59 +08:00
ff47c8d05f parser: apply feature-ids special comments to auto_random (#15412) 2020-04-02 20:19:39 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
b8ea8fc42c privilege: fix show grants privilege check (#15524) 2020-03-23 21:06:13 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
12aabbdc67 ddl: basic support for invisible index (#15366) 2020-03-17 15:31:35 +08:00
4adc2582fd show: fix show create table sequence_name (#15241) 2020-03-10 15:51:32 +08:00
b504d37924 *: refine the table.Table interface (#15227)
remove unnecessary methods.
"The bigger the interface, the weaker the abstraction -- Rob Pike"
2020-03-10 13:40:56 +08:00
8680c8a76b tables: add sequence binlog support (#14954) 2020-02-28 18:46:42 +08:00
b98c88c948 infoschema/executor: support field expression in show index and related infoschema (#14400) 2020-02-20 19:04:48 +08:00
6d50a47a8b executor: add quote for partition name(close #14477) (#14793) 2020-02-16 19:53:19 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
4cfe17854e executor: support show create sequence (#14674) 2020-02-10 18:47:04 +08:00
9e97091de4 executor: add privilege check for show bindings (#14443) 2020-02-03 15:16:54 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
66b8add23d executor: support show extended columns statement (#14262) 2019-12-28 21:49:09 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
fce9870208 ddl,executor: add auto_random column option (#13127) 2019-12-23 14:51:51 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
42adca989e tables: basic support for hidden column (#13908) 2019-12-17 21:48:46 +08:00
0a22034420 executor: add SHOW BUILTINS command (#12941) 2019-12-06 14:13:00 +08:00