forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cherry-pick-7.1] userprefix for 7.1 (pingcap#529)
* update tidb6.6: userprefix (pingcap#221) * userprefix & tidb version Signed-off-by: zeminzhou <[email protected]> * add get user with prefix (pingcap#176) Signed-off-by: David <[email protected]> Signed-off-by: David <[email protected]> * userprefix & tidb version Signed-off-by: zeminzhou <[email protected]> * userprefix & tidb version Signed-off-by: zeminzhou <[email protected]> * remove log Signed-off-by: zeminzhou <[email protected]> * remove tidb verion related codoes Signed-off-by: zeminzhou <[email protected]> * remove get keyspace from env Signed-off-by: zeminzhou <[email protected]> * revert keyspace.go Signed-off-by: zeminzhou <[email protected]> * keyspace2 -> keyspace Signed-off-by: zeminzhou <[email protected]> * revert util/sem/sem.go Signed-off-by: zeminzhou <[email protected]> * Update domain/user_prefix.go Co-authored-by: David <[email protected]> --------- Signed-off-by: zeminzhou <[email protected]> Signed-off-by: David <[email protected]> Co-authored-by: David <[email protected]> * update tidb6.6: userprefix (pingcap#221) * userprefix & tidb version Signed-off-by: zeminzhou <[email protected]> * add get user with prefix (pingcap#176) Signed-off-by: David <[email protected]> Signed-off-by: David <[email protected]> * userprefix & tidb version Signed-off-by: zeminzhou <[email protected]> * userprefix & tidb version Signed-off-by: zeminzhou <[email protected]> * remove log Signed-off-by: zeminzhou <[email protected]> * remove tidb verion related codoes Signed-off-by: zeminzhou <[email protected]> * remove get keyspace from env Signed-off-by: zeminzhou <[email protected]> * revert keyspace.go Signed-off-by: zeminzhou <[email protected]> * keyspace2 -> keyspace Signed-off-by: zeminzhou <[email protected]> * revert util/sem/sem.go Signed-off-by: zeminzhou <[email protected]> * Update domain/user_prefix.go Co-authored-by: David <[email protected]> --------- Signed-off-by: zeminzhou <[email protected]> Signed-off-by: David <[email protected]> Co-authored-by: David <[email protected]> * [DNM] change cloud_admin user to prefix.cloud_admin (pingcap#399) * change cloud_admin user to prefix.cloud_admin, update to serverlessVersion15 * use UPDATE sql * validate user prefix when rename user * forbidden rename user cloud_admin * UPDATE mysql.global_priv, mysql.global_grants * remove domain.GetUserPrefix() * fix .bazel * fix RenameUserStmt, return nil * fix conflict * fix cloud_admin user (pingcap#448) * make check Signed-off-by: zeminzhou <[email protected]> * make check Signed-off-by: zeminzhou <[email protected]> * make check Signed-off-by: zeminzhou <[email protected]> --------- Signed-off-by: zeminzhou <[email protected]> Signed-off-by: David <[email protected]> Co-authored-by: David <[email protected]> Co-authored-by: better0332 <[email protected]>
- Loading branch information
1 parent
42ea218
commit b666bef
Showing
16 changed files
with
147 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.