Return the number of the "most current version of database".
For an overview see page HA Applications
Prototype
int xsql_ha_get_sequencer()Arguments
voidNo argumentsDescription
This function returns the number of the "version of database" (or "current-ness" in the sense of HA). This number can be used to determine which database is the latest. (See also C API function mco_HA_get_sequencer() which is called internally.)
Example
XSQL>select xsql_ha_get_sequencer(); #1 ------------------------------------------------------------------------------ 3