summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/sqlite3
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-04 13:01:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-04 13:01:41 +0900
commitbe01f8c8e3e09a1c71165640ab722df948c4dfbb (patch)
tree58d900e8952a66580c86f7ae3a9255c1eeac09e9 /src/sql/drivers/sqlite3
parentc489c62c1713924c29e560cd2ebd36b006c14a11 (diff)
downloadtqt3-feat/tqmake.tar.gz
tqt3-feat/tqmake.zip
rename qmake to tqmakefeat/tqmake
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/sql/drivers/sqlite3')
-rw-r--r--src/sql/drivers/sqlite3/tqsql_sqlite3.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp b/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp
index f75feaa1b..df3084c97 100644
--- a/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp
+++ b/src/sql/drivers/sqlite3/tqsql_sqlite3.cpp
@@ -43,7 +43,7 @@ static TQVariant::Type qSqliteType(int tp)
}
}
-static TQSqlError qMakeError(sqlite3 *access, const TQString &descr, TQSqlError::Type type,
+static TQSqlError tqMakeError(sqlite3 *access, const TQString &descr, TQSqlError::Type type,
int errorCode = -1)
{
return TQSqlError(descr,
@@ -191,7 +191,7 @@ bool TQSQLite3ResultPrivate::fetchNext(TQtSqlCachedResult::RowCache* row)
case SQLITE_MISUSE:
default:
// something wrong, don't get col info, but still return false
- q->setLastError(qMakeError(access, "Unable to fetch row", TQSqlError::Connection, res));
+ q->setLastError(tqMakeError(access, "Unable to fetch row", TQSqlError::Connection, res));
finalize();
q->setAt(TQSql::AfterLast);
return false;
@@ -229,7 +229,7 @@ bool TQSQLite3Result::reset (const TQString &query)
&d->stmt, 0);
if (res != SQLITE_OK) {
- setLastError(qMakeError(d->access, "Unable to execute statement", TQSqlError::Statement, res));
+ setLastError(tqMakeError(d->access, "Unable to execute statement", TQSqlError::Statement, res));
d->finalize();
return false;
}
@@ -309,7 +309,7 @@ bool TQSQLite3Driver::open(const TQString & db, const TQString &, const TQString
setOpenError(false);
return true;
} else {
- setLastError(qMakeError(d->access, "Error opening database",
+ setLastError(tqMakeError(d->access, "Error opening database",
TQSqlError::Connection));
setOpenError(true);
return false;
@@ -320,7 +320,7 @@ void TQSQLite3Driver::close()
{
if (isOpen()) {
if (sqlite3_close(d->access) != SQLITE_OK)
- setLastError(qMakeError(d->access, "Error closing database",
+ setLastError(tqMakeError(d->access, "Error closing database",
TQSqlError::Connection));
d->access = 0;
setOpen(false);