Move service user injection into MySQL authenticator

The MySQL authenticator now injects the service user into the list of
allowed users if loading of database users fails. This allows the removal
of common code in the binlogrouter and maxinfo modules.
This commit is contained in:
Markus Makela
2016-10-18 14:06:32 +03:00
parent 693d8dcbb4
commit fe689504b0
5 changed files with 79 additions and 6 deletions

View File

@ -100,9 +100,7 @@ typedef enum router_capability_t
RCAP_TYPE_UNDEFINED = 0x00,
RCAP_TYPE_STMT_INPUT = 0x01, /**< Statement per buffer */
RCAP_TYPE_PACKET_INPUT = 0x02, /**< Data as it was read from DCB */
RCAP_TYPE_NO_RSESSION = 0x04, /**< Router does not use router sessions */
RCAP_TYPE_NO_USERS_INIT = 0x08 /**< Prevent the loading of authenticator
users when the service is started */
RCAP_TYPE_NO_RSESSION = 0x04 /**< Router does not use router sessions */
} router_capability_t;
MXS_END_DECLS