1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-24668 debug assert on SET PASSWORD when binlog fails

don't use `result` both for an error status and to remember
if the mutex was locked
This commit is contained in:
Sergei Golubchik
2021-03-06 12:31:02 +01:00
parent cf1ca57e75
commit 9742cf4203
4 changed files with 19 additions and 4 deletions

View File

@@ -75,5 +75,8 @@ source include/binlog_inject_error.inc;
let $query= REVOKE ALL PRIVILEGES, GRANT OPTION FROM user1;
source include/binlog_inject_error.inc;
let $query= SET PASSWORD FOR user1=PASSWORD('foobar');
source include/binlog_inject_error.inc;
let $query= DROP USER user1;
source include/binlog_inject_error.inc;