Commit Graph

214 Commits

Author SHA1 Message Date
684057f484 privilege: fix show grants output for active roles + dynamic privs (#27218) 2021-08-25 03:04:03 +08:00
2a8612be59 *: SHOW CREATE VIEW/SEQUENCE should ignore local temporary table with the same name (#27344) 2021-08-20 20:24:02 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
cdaf996f56 expression/builtin: Add tidb_decode_sql_digests function (#26787) 2021-08-06 00:09:12 +08:00
99c4bc1fd3 ddl: show create table for a local temporary table (#26104) 2021-07-30 12:07:04 +08:00
6ab9d7dbcd expression: support Oracle translate function (#26408) 2021-07-29 16:18:17 +08:00
7f6cfcb2e6 executor: Future proof TiDB specific comment (#26394) 2021-07-21 13:15:36 +08:00
702ee7c15f config, sessionctx: deprecate streaming config (#25906) 2021-07-15 17:03:33 +08:00
1641b3411d executor: fix expression field for show keys from (#26119) 2021-07-15 10:29:33 +08:00
f23e1004ac *: Support for caching_sha2_password authentication (#24991) 2021-07-05 11:15:28 +08:00
ad0f654fcb planner: fix bug when unfolding wildcard in view definiton (#25226) 2021-07-02 14:49:26 +08:00
6063386a9d expressions: Support bin-to-uuid and uuid-to-bin (#20140) 2021-06-30 14:03:25 +08:00
2f470ba114 executor: make show create table show index comments (#25515) 2021-06-24 20:51:24 +08:00
27489d43b4 planner: Log warnings when agg function can not be pushdown in explain statement (#25553) 2021-06-24 15:21:23 +08:00
a6f52fb450 types: warning information is inconsistent with MySQL when convert string to double/float (#24889) 2021-06-21 11:06:52 +08:00
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