DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info) mysql-get-server-version

Info Catalog (mysql.info) mysql-get-server-info (mysql.info) c-api-functions (mysql.info) mysql-hex-string
 
 22.2.3.32 `mysql_get_server_version()'
 ......................................
 
 `unsigned long mysql_get_server_version(MYSQL *mysql)'
 
 *Description*
 
 Returns the version number of the server as an integer.
 
 *Return Values*
 
 A number that represents the MySQL server version in this format:
 
      major_version*10000 + minor_version *100 + sub_version
 
 For example, 5.0.12 is returned as 50012.
 
 This function is useful in client programs for quickly determining
 whether some version-specific server capability exists.
 
 *Errors*
 
 None.
 
Info Catalog (mysql.info) mysql-get-server-info (mysql.info) c-api-functions (mysql.info) mysql-hex-string
automatically generated byinfo2html