Commit Graph

199 Commits

Author SHA1 Message Date
5c350bef3b meta,executor: fix show create table panic for temporary table with auto_increment columns (#25140) 2021-06-04 20:30:28 +08:00
83a9a12a14 *: add sys var tidb_enable_global_temporary_table to open global temp table (#25075) 2021-06-03 16:10:45 +08:00
ad9241f92c executor: hide tx_read_ts from show variables (#24926) 2021-05-31 14:03:36 +08:00
c287bcb48c executor: Add plugin column to mysql.user (#24894) 2021-05-28 16:33:36 +08:00
ced56153b8 executor,table: fix 'show create table' for the temporary table (#24857) 2021-05-25 20:33:34 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
22dbcc5627 executor, variable: move hidden variables to struct (#24304) 2021-04-28 12:49:56 +08:00
adfe029348 executor: accelerate TestShowVar (#24131) 2021-04-19 23:21:52 +08:00
dbd5a3622a executor: fix show table status for the database with upper-cased name (#23896) 2021-04-12 16:02:36 +08:00
f97496d0fc expression: Implementation of Vitess hashing algorithm. (#23493) 2021-04-06 23:00:32 +08:00
901891ae1f *: hide the config global-kill and session var tidb_enable_index_merge_join (#23395) 2021-03-18 17:09:53 +08:00
411dba25b1 *: deprecate alter-primary-key configuration (#23270) 2021-03-18 15:17:36 +08:00
9c48b24cb1 *: add clustered index info in show index from stmt (#23329) 2021-03-16 20:16:55 +08:00
610ac87e0b config: deprecate tikv-client.copr-cache.enable and invisible some copr-cache configs (#22786) 2021-03-10 15:37:51 +08:00
b81e547e66 executor: fix err check (#22991) 2021-03-03 19:26:56 +08:00
f89ab46437 infoschema, executor: Resolve bug where show index from perf_schema had no results (#22772) 2021-02-26 13:58:53 +08:00
7151b4f3b5 config: use tidb_enable_list_partition to enable list table partition feature (#22864) 2021-02-25 22:11:04 +08:00
3ad7f40140 expression: Add warning info for exprs that can not be pushed to storage layer (#22713) 2021-02-20 10:41:57 +08:00
27db39b480 *: use CLUSTERED and NONCLUSTERED to control primary key type (#22409) 2021-02-05 20:41:41 +08:00
b1bd2856ca config: disable list partition by default since it's an experimental feature (#22045) 2020-12-29 09:56:18 +08:00
6e2bc8fe01 ddl: filter the feature switches in show variables (#21873) 2020-12-18 15:29:50 +08:00
de75e604ff *: differentiate types for user variables (#18973)
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com>
2020-11-17 17:03:41 +08:00
5080730715 executor: fix the display of large unsigned handle when show table regions (#21026) 2020-11-13 15:26:25 +08:00
9007614f95 executor: fix wrong is-null result of ShowExec.fetchShowIndex (#20287) 2020-11-10 17:51:12 +08:00
c9d7089d86 ddl: add charset info in show create table if column is generated (#20347) 2020-11-03 15:56:53 +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
106b04ddab *: Fix sysvars to native type in @@ context (#20394) 2020-10-19 14:13:43 +08:00
3d33bdf49f privilege: fix wrong result of SHOW GRANTS (#19704)
* fix show grants user filter

* address comment

* address comment

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-09-07 14:45:20 +08:00
862d8b8996 check privileges for show stats (#19702) 2020-09-03 16:48:44 +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
6fdd609c00 privilege: fix user change after show grants and add user existed check for show grants (#19568)
* fix show grant change user object and add check

* fix lint

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-28 20:54:21 +08:00
2c2ff934b2 util: rewrite parser warings for integer display width (#18775) 2020-08-24 14:52:29 +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
1fed1fb895 tests: remove incorrect use of FLUSH PRIVILEGES (#18361) 2020-07-24 23:25:14 +08:00
aa1d2d2b1b executor,ddl: update auto_random_base in 'show create table' after insertion (#18217) 2020-07-01 10:45:26 +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
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
c74bd8f632 ddl: added (ddl.DDL).Create{Table,Schema}WithInfo (#15806) 2020-04-01 14:59:40 +08:00
1142e659a8 privilege: fix user with % hostname can not show grants. (#15825) 2020-03-30 18:10:19 +08:00
b8ea8fc42c privilege: fix show grants privilege check (#15524) 2020-03-23 21:06:13 +08:00
4adc2582fd show: fix show create table sequence_name (#15241) 2020-03-10 15:51:32 +08:00
fde73403fd expression: Add format_bytes and format_nano_time performance schema functions (#14975) 2020-03-06 11:50:46 +08:00
d457dd7e31 test: correct TiDB-style executable comment version for auto_random (#14858) 2020-03-04 10:29:09 +08:00