File tree 3 files changed +23
-3
lines changed
tests/logictest/suites/gen/05_ddl
3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change
1
+ statement ok
2
+ DROP USER IF EXISTS 'test-a'@'localhost';
3
+
4
+ statement ok
5
+ DROP USER IF EXISTS 'test-b'@'localhost';
6
+
7
+ statement ok
8
+ DROP USER IF EXISTS 'test-c'@'localhost';
9
+
10
+ statement ok
11
+ DROP USER IF EXISTS 'test-d@localhost';
12
+
1
13
statement ok
2
14
CREATE USER 'test-a'@'localhost' IDENTIFIED BY 'password';
3
15
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ DROP USER IF EXISTS 'test-c'@'localhost';
13
13
statement ok
14
14
DROP USER IF EXISTS 'test-d@localhost';
15
15
16
+ statement ok
17
+ DROP USER IF EXISTS 'test-e';
18
+
16
19
statement ok
17
20
CREATE USER 'test-a'@'localhost' IDENTIFIED BY 'password';
18
21
@@ -31,6 +34,9 @@ CREATE USER 'test-d@localhost' IDENTIFIED WITH sha256_password BY 'password';
31
34
statement ok
32
35
CREATE USER IF NOT EXISTS 'test-d@localhost' IDENTIFIED WITH sha256_password BY 'password';
33
36
37
+ statement ok
38
+ CREATE USER IF NOT EXISTS 'test-e' IDENTIFIED BY '123' WITH DEFAULT_ROLE = 'role1';
39
+
34
40
statement ok
35
41
DROP USER 'test-a'@'localhost';
36
42
@@ -43,3 +49,8 @@ DROP USER 'test-c'@'localhost';
43
49
statement ok
44
50
DROP USER 'test-d@localhost';
45
51
52
+ statement ok
53
+ DROP USER 'test-d@localhost';
54
+
55
+ statement ok
56
+ DROP USER 'test-e';
Original file line number Diff line number Diff line change @@ -43,9 +43,6 @@ ALTER USER 'test-i@localhost' IDENTIFIED WITH sha256_password BY 'new-password';
43
43
statement ok
44
44
ALTER USER 'test-h'@'localhost' WITH DEFAULT_ROLE = 'role1';
45
45
46
- statement query I
47
- SELECT * FROM system.users;
48
-
49
46
statement ok
50
47
DROP USER IF EXISTS 'test-e'@'localhost';
51
48
You can’t perform that action at this time.
0 commit comments