const char *
mysql_get_server_info_with_version_update(MYSQL *mysql)
Returns the complete version of the connected MySQL server in MAJOR.MINOR.PATCH.UPDATE form. The update component is always present, including when its value is 0. Any build or runtime suffix follows the update component.
A successfully retrieved value is cached, and subsequent calls return the cached value without issuing another query.
A character string that represents the complete MySQL server version.
NULL if the connection is not ready to
issue a command, the connected server does not support
VERSION_WITH_UPDATE(), or no value can be
retrieved. An unsupported server remains usable. Failed
retrievals are not cached, so a later call may retry.