From 5aba9413ec27ea1684ebc69af0e4048549784051 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 13 Apr 2012 02:51:41 -0500 Subject: [PATCH] Fix inadvertent "TQ" changes. (cherry picked from commit f445bdb5265116910bec2f205cb73895a564d098) --- src/svnqt/cache/LogCache.cpp | 2 +- src/svnqt/cache/sqlite3/qsql_sqlite3.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/svnqt/cache/LogCache.cpp b/src/svnqt/cache/LogCache.cpp index f07eb4c..942b2ae 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()) {