sqldata/sqlapibase.cpp
// Check if the database version equal or higher than the specified value
Check if the database version equal or higher than the specified value
Check if the database version equal or higher than the specified value
bool SqlApiBase::IsVersionEqualOrHigher(int mj, int mi, int rel)
{
	if(mj < _version_major)
		return true;
	if(mj == _version_major && mi < _version_minor)
		return true;
	if(mj == _version_major && mi == _version_minor && rel <= _version_release)
		return true;
	return false;		
}
bool SqlApiBase :: IsVersionEqualOrHigher ( int mj , int mi , int rel ) { if ( mj < _version_major ) return true ; if ( mj == _version_major && mi < _version_minor ) return true ; if ( mj == _version_major && mi == _version_minor && rel <= _version_release ) return true ; return false ; }
Check if the database version equal or higher than the specified value
Check if the database version equal or higher than the specified value
// If major version is higher it is enough // If major version is equal and minor is higher it is enough