Commit Graph

117 Commits

Author SHA1 Message Date
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
80e14b4bff ddl: rename region label to attributes (#29174) 2021-11-01 12:14:50 +08:00
c817f9e5f4 executor, privilege: fix privilege validation on information_shema.columns, explain and desc (#28985) 2021-10-30 04:08:50 +08:00
84ec6634c4 executor: add placement policy name / direct placement to is.tables/partitions (#28798) 2021-10-19 00:32:42 +08:00
ed7bebded9 infoschema: remove is.placement_policy (#28890) (#28896) 2021-10-18 23:10:43 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
81c3013f25 *: Implementing information_schema.placement_rules (#27478) 2021-10-15 08:49:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
fd73942112 executor, planner, util: optimize query statements summary table by conditional pushdown (#27563) 2021-09-29 00:30:46 +08:00
8f61a69e99 ddl: add index to support rule override (#27660) 2021-09-26 14:20:46 +08:00
5de2ce7441 ddl: change attributes to key-value form (#27945) 2021-09-11 11:06:39 +08:00
48e12ae07b util: change super to process privilege when reading statements_summary (#27431) 2021-08-23 19:04:03 +08:00
af66129b1e go.mod: update parser (#27339) 2021-08-18 19:30:00 +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
6ac43f4f2a executor: add sequence info for infoschema (#27094) 2021-08-12 14:55:16 +08:00
f8564e3177 *: add infoschema.referential_constraints (#26450) 2021-08-10 12:17:15 +08:00
7f5c0fa2e8 ddl: support showing label rule through information schema table (#26637) 2021-08-09 12:39:14 +08:00
cdaf996f56 expression/builtin: Add tidb_decode_sql_digests function (#26787) 2021-08-06 00:09:12 +08:00
c3f92c28bb infoschema, executor: Add SQL Text to INFORMATION_SCHEMA.(CLUSTER_)DEADLOCKS table (#26711) 2021-08-04 18:19:07 +08:00
de3bc62d54 infoschema, executor: Add SQL text column to DATA_LOCK_WAITS table (#26632) 2021-08-03 14:55:06 +08:00
89e5ce0686 infoschema, executor: Support getting current executing SQL text in TIDB_TRX table (#26357) 2021-07-28 16:08:17 +08:00
583cdc8f13 executor: trim ( and ) for the outputs of expression (#26687) 2021-07-28 15:20:17 +08:00
989361a0a8 infoschema, executor, txn: Decode key in DEADLOCKS and DATA_LOCK_WAITS (#26231) 2021-07-23 17:18:14 +08:00
9833e6487a exec: access the table_storage_stats need privilege (#26298) 2021-07-19 18:59:34 +08:00
32bf0c4950 executor: fix user without process privilege can access cluster_statements_summary_evicted table (#26208) 2021-07-19 18:09:34 +08:00
723e2bc6d8 executor, privileges: fix infoschema.user_privileges privilege requirements (#26070) 2021-07-16 19:53:33 +08:00
946b3841e7 executor, privilege: require CONFIG or Process privilege for is.cluster_* (#26220) 2021-07-16 09:19:33 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
xhe
3bbb2c0fec ddl: refactor bundle[2/2] [6/6] (#22415) 2021-07-08 11:57:29 +08:00
a8d23fda41 *: optimize query statements summary table by avoid decode plan for each row (#25892) 2021-07-06 12:51:28 +08:00
b687413b66 executor: query memory table TIKV_REGION_PEERS and TIKV_REGION_STATUS get error (#25854) 2021-07-02 11:13:26 +08:00
46a0385576 executor: fix character_octet_length from information_schema.columns (#25476) 2021-06-25 15:55:24 +08:00
03847a8ded executor, infoschema: Add cluster_statements_summary_evicted table to TiDB (#25418) 2021-06-17 21:02:38 +08:00
4d9c667aab infoschema, executor, txn: encode key field in DATA_LOCK_WAITS table (#25060) 2021-06-03 18:14:26 +08:00
0367c54698 inforschema, executor, util/kvcache, util/statement_summary : Add STATEMENTS_SUMMARY_EVICTED into information_schema (#24513) 2021-05-28 15:19:35 +08:00
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
96ab4a3f0a store/helper, infoschema: fix the bug that cannot find down-peer (#24881) 2021-05-27 13:25:35 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
xhe
bfdad7c752 *: milisecond test and infoschema fix (#24820) 2021-05-24 18:27:34 +08:00
3904ca3e4e infoschema, executor: Add the deadlock table (#24524) 2021-05-20 00:21:42 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
18cbfaac15 *: enable gosimple linter (#24617) 2021-05-14 09:15:38 +08:00
b1d134d7d9 txn: Add txn state's view (#22908) 2021-05-12 19:25:40 +08:00
c8bc701170 *: misc cleanups to variable package (#24507) 2021-05-11 13:23:38 +08:00
xhe
5e9e0e6e37 *: consitent get infoschema (#24230) 2021-05-10 21:00:36 +08:00
c5ca2ea7f9 *: add security enhanced mode part 2 (#24279) 2021-04-30 00:31:57 +08:00
xhe
feea6d6424 ddl: refactor constraints [3/6] (#24006) 2021-04-22 12:53:53 +08:00
eb526b0c16 *: pre-allocate memory for slices (#24048) 2021-04-16 19:29:51 +08:00
d460a9c49a *: add column End_time in show analyze status and add related log (#23674) 2021-04-14 18:31:51 +08:00