mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
ad807aebde
Make `mysqladmin --local` use `FLUSH LOCAL` for all flush-* commands, and only do `SET SQL_LOG_BIN=OFF` for create/drop/old_password/password. Additionally, --local is ignored for all commands that never write to binlog, so e.g. `mysqladmin --local version` no longer needs SUPER
12 lines
418 B
Text
12 lines
418 B
Text
source include/have_binlog_format_statement.inc;
|
|
#
|
|
# MDEV-12612 mysqladmin --local flush... to use FLUSH LOCAL
|
|
#
|
|
create user adm@localhost identified by 'foobar';
|
|
grant reload on *.* to adm@localhost;
|
|
reset master;
|
|
exec $MYSQLADMIN -uadm -pfoobar flush-status;
|
|
source include/show_binlog_events.inc;
|
|
exec $MYSQLADMIN --local -uadm -pfoobar flush-status;
|
|
source include/show_binlog_events.inc;
|
|
drop user adm@localhost;
|