Version check problem mysql

Topics: 4. Bugs
Dec 14, 2014 at 8:07 PM
Edited Dec 14, 2014 at 8:08 PM
Today I installed the latest 3.02 version (Mysql) and discovered a problem with the versioncheck.
The check did not read the the wright data from the database. The value SchemaVersion is "1" but the check is saying "0". I made a dirty work a round, can you please repair the problem?

part main.cpp:
// Check DB Version
int schema_version = 0;
db.get_config(SQL_SCHEMAVERSION, schema_version);

if (schema_version < SQL_MINIMUM_SCHEMA_VERSION) //schema_version changed to 1
    std::stringstream msg;
    msg << "Upgrade your database to version " << SQL_MINIMUM_SCHEMA_VERSION << " " << schema_version;
    Log(msg.str().c_str(), LOG_ERROR_);
Dec 15, 2014 at 8:35 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Marked as answer by SBF on 12/29/2014 at 7:58 AM