-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Closed
Copy link
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
connection default;
CREATE USER no_resource_group;
CREATE RESOURCE GROUP test RU_PER_SEC = 666;
GRANT RESOURCE_GROUP_USER ON *.* TO resource_group_user;
connect (no_resource_group,localhost,no_resource_group,,);
SET SESSION_STATES "{'rs-group':'test'}";
SELECT CURRENT_RESOURCE_GROUP();
2. What did you expect to see? (Required)
SELECT CURRENT_RESOURCE_GROUP();
default
3. What did you see instead (Required)
SELECT CURRENT_RESOURCE_GROUP();
test
4. What is your TiDB version? (Required)
master
Metadata
Metadata
Assignees
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.