mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
15d24779e1
mysql.procs_priv table itself does not get replicated. Inserting routine privilege record into mysql.procs_priv table is triggered by creating function/procedure statements according to current user's privileges. Because the current user of SQL thread has GLOBAL_ACL, which doesn't need any check mysql.procs_priv privilege when create/alter/execute routines. Corresponding GLOBAL_ACL privilege user doesn't insert routine privilege record into mysql.procs_priv when creating a routine. Fixed by switching the current user of SQL thread to definer user if the definer user exists on slave. That populates procs_priv, otherwise to keep the SQL thread user and procs_priv remains unchanged. |
||
---|---|---|
.. | ||
include | ||
r | ||
t | ||
combinations | ||
my.cnf | ||
README | ||
rpl_1slave_base.cnf |
How to run. =========== ./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed