MXS-2713 Classify SET PASSWORD as QUERY_TYPE_WRITE

A change of the password is replicated to the slaves, so it
must only be sent to the master.
This commit is contained in:
Johan Wikman
2019-10-07 14:33:53 +03:00
parent 2a7f320cf4
commit e7e40b0179
5 changed files with 42 additions and 18 deletions

View File

@ -136,3 +136,6 @@ SET @saved_cs_client= @@character_set_client;
# MXS-2699
SELECT NEXTVAL(id_generator), context FROM t1 WHERE (a,b,c) >= (1,2,3);
select soundex(_utf8mb4 0xD091D092D093) as vx, gray_user_tag from user_extends where user_id > last_insert_id();
# MXS-2713
SET PASSWORD FOR 'user'@'10.0.0.1'='*C50EB75D7CB4C76B5264218B92BC69E6815B057A';