@ -72,7 +72,7 @@ public:
if (list.find("logentries")==list.end()) {
aDb->transaction();
_q.exec("CREATE TABLE \"logentries\" (\"revision\" INTEGER UNITQUE,\"date\" INTEGER,\"author\" TEXT, \"message\" TEXT)");
_q.exec("CREATE TABLE \"logentries\" (\"revision\" INTEGER UNIQUE,\"date\" INTEGER,\"author\" TEXT, \"message\" TEXT)");
aDb->commit();
}
if (list.find("changeditems")==list.end()) {
@ -409,7 +409,7 @@ TQSqlIndex TQSQLite3Driver::primaryIndex(const TQString &tblname) const
TQSqlQuery q = createQuery();
q.setForwardOnly(TRUE);
// finrst find a UNITQUE INDEX
// finrst find a UNIQUE INDEX
q.exec("PRAGMA index_list('" + tblname + "');");
TQString indexname;
while(q.next()) {