Fix inadvertent "TQ" changes.

pull/1/head
Darrell Anderson 13 years ago
parent 66ead5336c
commit f445bdb526

@ -72,7 +72,7 @@ public:
if (list.find("logentries")==list.end()) { if (list.find("logentries")==list.end()) {
aDb->transaction(); 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(); aDb->commit();
} }
if (list.find("changeditems")==list.end()) { if (list.find("changeditems")==list.end()) {

@ -409,7 +409,7 @@ TQSqlIndex TQSQLite3Driver::primaryIndex(const TQString &tblname) const
TQSqlQuery q = createQuery(); TQSqlQuery q = createQuery();
q.setForwardOnly(TRUE); q.setForwardOnly(TRUE);
// finrst find a UNITQUE INDEX // finrst find a UNIQUE INDEX
q.exec("PRAGMA index_list('" + tblname + "');"); q.exec("PRAGMA index_list('" + tblname + "');");
TQString indexname; TQString indexname;
while(q.next()) { while(q.next()) {

Loading…
Cancel
Save