MXS-1249: Modifications after rebase on develop

This commit is contained in:
Johan Wikman
2017-06-19 14:04:10 +03:00
parent 1034cc51be
commit 4e73aecdef
7 changed files with 12 additions and 26 deletions

View File

@ -286,10 +286,8 @@ mxs_mysql_name_kind_t mxs_mysql_name_to_pcre(char *pcre,
return rv;
}
bool mxs_mysql_set_server_version(MYSQL* mysql, SERVER* server)
void mxs_mysql_set_server_version(MYSQL* mysql, SERVER* server)
{
bool rv = false;
const char* s = mysql_get_server_info(mysql);
if (s)
@ -300,8 +298,6 @@ bool mxs_mysql_set_server_version(MYSQL* mysql, SERVER* server)
unsigned long minor = (v - major * 10000) / 100;
unsigned long patch = v - major * 10000 - minor * 100;
rv = server_set_version(server, s, major, minor, patch);
server_set_version(server, s, major, minor, patch);
}
return rv;
}