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

@ -380,6 +380,7 @@ static Keyword aKeywordTable[] = {
#ifdef MAXSCALE
{ "PARTITION", "TK_PARTITION", ALWAYS },
{ "PARTITIONS", "TK_PARTITIONS", ALWAYS },
{ "PASSWORD", "TK_PASSWORD", ALWAYS },
{ "PERSISTENT", "TK_PERSISTENT", ALWAYS },
#endif
#ifndef MAXSCALE