summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/svnqt/cache/LogCache.cpp2
-rw-r--r--src/svnqt/cache/sqlite3/qsql_sqlite3.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/svnqt/cache/LogCache.cpp b/src/svnqt/cache/LogCache.cpp
index d95284e..c57176c 100644
--- a/src/svnqt/cache/LogCache.cpp
+++ b/src/svnqt/cache/LogCache.cpp
@@ -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()) {
diff --git a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
index d104e66..9badbef 100644
--- a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
+++ b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
@@ -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()) {