From: Marcus Eggenberger Date: Fri, 22 Feb 2008 13:36:25 +0000 (+0000) Subject: fixed bug: unable to setup SQLite storage X-Git-Tag: 0.2.0-alpha1~3 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=f6e0e4c958187792081b397795eb2ee7de294c23;ds=sidebyside fixed bug: unable to setup SQLite storage --- diff --git a/src/core/SQL/SQLite/8/setup_000_quasseluser.sql b/src/core/SQL/SQLite/8/setup_000_quasseluser.sql index 37376f40..0b81759e 100644 --- a/src/core/SQL/SQLite/8/setup_000_quasseluser.sql +++ b/src/core/SQL/SQLite/8/setup_000_quasseluser.sql @@ -1,7 +1,7 @@ CREATE TABLE quasseluser ( userid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, username TEXT UNIQUE NOT NULL, - password BLOB NOT NULL + password TEXT NOT NULL ) diff --git a/src/core/sqlitestorage.cpp b/src/core/sqlitestorage.cpp index 1548085c..3c61f985 100644 --- a/src/core/sqlitestorage.cpp +++ b/src/core/sqlitestorage.cpp @@ -731,7 +731,7 @@ bool SqliteStorage::init(const QVariantMap &settings) { return false; if(!checkMigratedQuery.first()) - return false; + return true; // table is empty -> no work to be done QString passType = checkMigratedQuery.value(0).toString().toLower(); if(passType == "text") diff --git a/version.inc b/version.inc index 9d847c79..9e189b16 100644 --- a/version.inc +++ b/version.inc @@ -4,8 +4,8 @@ { using namespace Global; quasselVersion = "0.2.0-pre"; - quasselDate = "2008-02-21"; - quasselBuild = 574; + quasselDate = "2008-02-22"; + quasselBuild = 577; //! Minimum client build number the core needs clientBuildNeeded = 563;