Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.0.14
-
None
-
wheezy x86_64
Description
CREATE PROCEDURE setdomain() DETERMINISTIC SQL SECURITY DEFINER
|
BEGIN
|
set @gtid_domain_id=59;
|
END
|
|
|
set global init_connect='call mysql.setdomain();';
|
non-priv user:
mysql> select @gtid_domain_id;
|
+-----------------+
|
| @gtid_domain_id |
|
+-----------------+
|
| 59 |
|
+-----------------+
|
1 row in set (0.00 sec)
|
|
|
mysql> show session variables like 'gtid_domain_id';
|
+----------------+-------+
|
| Variable_name | Value |
|
+----------------+-------+
|
| gtid_domain_id | 0 |
|
+----------------+-------+
|
1 row in set (0.00 sec)
|
Binary events logged as this user use gtid_domain_id =0 instead of 59.