mysql-test/suite/roles/grant_empty.result
raw| 1 | grant '' to foo@localhost; |
| 2 | ERROR OP000: Invalid role specification `` |
| 3 | create user ''@localhost; |
| 4 | create role r1; |
| 5 | grant r1 to ''@localhost; |
| 6 | connect con1,localhost,nonexisting_user,,; |
| 7 | select current_user; |
| 8 | current_user |
| 9 | @localhost |
| 10 | show grants; |
| 11 | Grants for @localhost |
| 12 | GRANT `r1` TO ``@`localhost` |
| 13 | GRANT USAGE ON *.* TO ``@`localhost` |
| 14 | connection default; |
| 15 | drop role r1; |
| 16 | drop user ''@localhost; |