-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
136 additions
and
1 deletion.
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 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
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
Empty file.
18 changes: 18 additions & 0 deletions
18
tests/suites/0_stateless/05_ddl/05_0005_ddl_alter_user_v2.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
set enable_planner_v2=1; | ||
DROP USER IF EXISTS 'test-e'@'localhost'; | ||
DROP USER IF EXISTS 'test-g'@'localhost'; | ||
DROP USER IF EXISTS 'test-h'@'localhost'; | ||
DROP USER IF EXISTS 'test-i'@'localhost'; | ||
|
||
CREATE USER 'test-e'@'localhost' IDENTIFIED BY 'password'; | ||
ALTER USER 'test-e'@'localhost' IDENTIFIED BY 'new-password'; | ||
ALTER USER 'test1'@'localhost' IDENTIFIED BY 'password'; -- {ErrorCode 2201} | ||
|
||
CREATE USER 'test-g'@'localhost' IDENTIFIED WITH sha256_password BY 'password'; | ||
ALTER USER 'test-g'@'localhost' IDENTIFIED WITH sha256_password BY 'new-password'; | ||
|
||
CREATE USER 'test-h'@'localhost' IDENTIFIED WITH double_sha1_password BY 'password'; | ||
ALTER USER 'test-h'@'localhost' IDENTIFIED WITH double_sha1_password BY 'new-password'; | ||
|
||
CREATE USER 'test-i@localhost' IDENTIFIED WITH sha256_password BY 'password'; | ||
ALTER USER 'test-i@localhost' IDENTIFIED WITH sha256_password BY 'new-password'; |