company logo

DataSource :: databaseSystemUpgrade - Automatic system upgrade

When system version has been changed, i.e. structure for internal headers has been changed, usually an automatic upgrade to current system version will be done, when opening a database in write mode. In order to suppress system version upgrade, this property may be set to false . The default setting is true .

After upgrading a database to a newer system version, the database cannot be accessed with older software versions.

In order to disable automatic system upgrade for all databases opened in an application, the option may be set on global level to false (or NO ):

SYSTEM_UPGRADE=NO

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false .

Implementation overview

Implementation details

  1. Get system upgrade option
    bool DataSource  :: databaseSystemUpgrade (  )
  2. to list
  3. Set system upgrade option
    bool DataSource  :: databaseSystemUpgrade ( bool bState )

    Setting system upgrade option to true before opening the database will suppress automatic system upgrade for database.

    • bState - Success

      The value is true when the function was executed successfully. Otherwise the value is set to false .

  4. to list