Commit Graph

259 Commits

Author SHA1 Message Date
dc969f0eb8 executor: Add replace support for LOAD DATA (#31303)
ref pingcap/tidb#24515
2022-01-18 12:31:44 +08:00
4bab2b6dff *: Rename table placement_policies to placement_rules (#31698)
close pingcap/tidb#31425
2022-01-17 16:01:45 +08:00
794e838a1d *: Add tidb_enable_direct_placement to default forbid direct placement (#31623) 2022-01-13 11:07:33 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
a082abdc6f *: fix case-sensitivity issue with EQ/IN when query information_schema.columns (#31463)
ref pingcap/tidb#31481
2022-01-10 13:31:41 +08:00
e053cbb257 privileges: show grants return incorrect results when granted with 2 or more privileges (#31322)
close pingcap/tidb#30855
2022-01-06 11:40:36 +08:00
fac8bf384f *: Remove variable tidb_enable_alter_placement (#31066)
* *: Remove variable `tidb_enable_alter_placement`
2022-01-06 11:19:39 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
376d5428cc *: Fix use of user identity in SHOW GRANTS + error messages (#30294) 2021-12-07 14:59:55 +08:00
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
e65f548a40 privilege: disable role privilege when it is revoked from an user (#30028) 2021-11-24 19:51:51 +08:00
e45387309b executor: fix error msg of granting non-table level privilege (#29321) 2021-11-23 15:05:50 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
42067720e9 ddl: Ensure feature flag support for placement rules [2] (#29258) 2021-11-01 10:34:51 +08:00
c817f9e5f4 executor, privilege: fix privilege validation on information_shema.columns, explain and desc (#28985) 2021-10-30 04:08:50 +08:00
21a4a7e441 br: Add hdfs backend support (#28718) 2021-10-27 17:54:49 +08:00
f46359484c brie: Fix handling of scheme when SEM is enabled (#29037) 2021-10-25 21:24:49 +08:00
0e38904a33 server, privilege: Socket authentication (#27561) 2021-10-19 23:44:43 +08:00
81c3013f25 *: Implementing information_schema.placement_rules (#27478) 2021-10-15 08:49:26 +08:00
fac98dc866 privileges: fix show create view doesn't need show view privilege (#28662) 2021-10-14 23:49:26 +08:00
7700bd2fd5 parser: add "second syntax" for REVOKE (#28738) 2021-10-14 12:03:27 +08:00
c1ec51e049 privilege: add Event and Routine privilege on db level (#28690) 2021-10-13 14:07:27 +08:00
6553404bb2 *: fix regression from FLUSH PRIVILEGES fix (#28736) 2021-10-13 11:19:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
375e166d60 privilege: add Create Temporary Tables privilege on db level (#28547) 2021-10-06 23:16:50 +08:00
xhe
2a02e6e41d placement: refine the bundle contruction logic (#28450) 2021-10-02 08:36:48 +08:00
d8186517a1 privilege: add select privileges check on performance_schema (#27871) 2021-09-10 10:46:38 +08:00
a7cba16084 privileges: fix case sensitive compare of dbname when grant in table level (#27738) 2021-09-08 13:48:57 +08:00
9f6ee163b3 privileges: make the result of SHOW GRANTS deterministic (#27703) 2021-09-02 17:14:16 +08:00
8fd619359e *: Support PLACEMENT_ADMIN dynamic priv (#27600) 2021-08-31 17:08:13 +08:00
fa52d566d5 privileges: require process privilege to access metrics_schema (#27554) 2021-08-31 13:34:12 +08:00
f2347226db executor, privilege: fix show grants for current_user() using x (#27593) 2021-08-28 15:22:05 +08:00
5fcfd890a4 privileges: add DASHBOARD_CLIENT dynamic privilege (#27591) 2021-08-27 16:26:05 +08:00
fbc5f94f8b privilege: add LOCK TABLES privilege on db level (#27489) 2021-08-26 10:08:04 +08:00
684057f484 privilege: fix show grants output for active roles + dynamic privs (#27218) 2021-08-25 03:04:03 +08:00
74fd4f1921 privileges: Fix panic when using skip-grant-table (#27558) 2021-08-25 00:10:04 +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
d7f17a0040 privilege: Add REFERENCES privilege on db/schema and table level. (#27121) 2021-08-12 16:53:16 +08:00
ran
fa91e15946 privilege/privileges: migrate test-infra to testify (#26991) 2021-08-10 13:31:15 +08:00
ac670dd033 executor, privilege: fix show grants (#26680) 2021-08-05 11:49:13 +08:00
3948b73c23 privilege/privileges: remove read clustered table in SEM test (#26625) 2021-07-28 09:32:16 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
723e2bc6d8 executor, privileges: fix infoschema.user_privileges privilege requirements (#26070) 2021-07-16 19:53:33 +08:00
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
946b3841e7 executor, privilege: require CONFIG or Process privilege for is.cluster_* (#26220) 2021-07-16 09:19:33 +08:00