Darkvater - 2014-05-11

hmm, the commit is wrong, it should be:

    if (db_vers == DB_VERSION)
        return 0;
    if (db_vers > DB_VERSION)
        return -2;
    if (db_vers < 1)
        return -1;

    return db_vers;