| 1 |
include/save_binlog_position.inc |
| 2 |
# ----------------------------------------------------------------------- |
| 3 |
# Begin : Tests for ALTER USER |
| 4 |
CREATE USER userX, userY, userZ; |
| 5 |
include/save_binlog_position.inc |
| 6 |
ALTER USER IF EXISTS userX, userY, userZ, |
| 7 |
userW IDENTIFIED WITH 'mysql_native_password' BY 'abcd' |
| 8 |
ACCOUNT LOCK; |
| 9 |
Warnings: |
| 10 |
Note 3162 Authorization ID 'userW'@'%' does not exist. |
| 11 |
# This event sequence pattern MUST be present in binlog: !Q(ALTER USER.*userX.*userY.*userZ.*userW.*ACCOUNT LOCK.*) |
| 12 |
include/assert_binlog_events.inc |
| 13 |
include/save_binlog_position.inc |
| 14 |
DROP USER userX, userY, userZ; |
| 15 |
# End : Tests for ALTER USER IF EXISTS |
| 16 |
# ----------------------------------------------------------------------- |