Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix default protocol module names for objects
If either a server or a listener was created at runtime, it would use the
old protocol module name and log a warning.
  • Loading branch information
markus456 committed Jan 15, 2018
1 parent f167bc5 commit a44e352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/core/config_runtime.cc
Expand Up @@ -152,7 +152,7 @@ bool runtime_create_server(const char *name, const char *address, const char *po
}
if (protocol == NULL)
{
protocol = "MySQLBackend";
protocol = "mariadbbackend";
}
if (authenticator == NULL && (authenticator = get_default_authenticator(protocol)) == NULL)
{
Expand Down Expand Up @@ -808,7 +808,7 @@ bool runtime_create_listener(SERVICE *service, const char *name, const char *add
}
if (proto == NULL || strcasecmp(proto, CN_DEFAULT) == 0)
{
proto = "MySQLClient";
proto = "mariadbclient";
}

if (auth && strcasecmp(auth, CN_DEFAULT) == 0)
Expand Down

0 comments on commit a44e352

Please sign in to comment.