mi_integer mi_version_comparison(s1, s2) mi_char1 *s1; mi_char *s2;
Valid in Client LIBMI Application? | Valid in User-Defined Routine? |
---|---|
No | Yes |
The mi_version_comparison( ) function compares the version for the major, minor, and interim version numbers of two database servers. For example, for IBM Informix Dynamic Server 9.40.UC6, the major version is 9, the minor version is 40, and the interim number is 6. If the interim number is omitted in one of the strings, then both strings will only be compared for only the major and minor release numbers.
See also the description of mi_server_library_version( ).