MXS-2220 Read server version using public methods

Version related fields have been removed from the public class.
This commit is contained in:
Esa Korhonen
2018-12-18 16:39:39 +02:00
parent d1b098d3b0
commit 09aa54720d
15 changed files with 100 additions and 167 deletions

View File

@ -118,9 +118,9 @@ mxs_mysql_name_kind_t mxs_mysql_name_to_pcre(char* pcre,
* Get server information from connector, store it to server object. This does not query
* the server as the data has been read while connecting.
*
* @param mysql MySQL handle from which information is read.
* @param server Server object to write.
* @param dest Server object to write
* @param source MySQL handle from which information is read
*/
void mxs_mysql_update_server_version(MYSQL* mysql, SERVER* server);
void mxs_mysql_update_server_version(SERVER* dest, MYSQL* source);
MXS_END_DECLS