diff options
Diffstat (limited to 'src/sql/drivers/sqlite3/qsql_sqlite3.cpp')
-rw-r--r-- | src/sql/drivers/sqlite3/qsql_sqlite3.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sql/drivers/sqlite3/qsql_sqlite3.cpp b/src/sql/drivers/sqlite3/qsql_sqlite3.cpp index a756c7da7..4d79cb4ea 100644 --- a/src/sql/drivers/sqlite3/qsql_sqlite3.cpp +++ b/src/sql/drivers/sqlite3/qsql_sqlite3.cpp @@ -336,6 +336,17 @@ void TQSQLite3Driver::close() } } +bool TQSQLite3Driver::ping() +{ + if ( !isOpen() ) { + return FALSE; + } + + // FIXME + // Implement ping if available + return TRUE; +} + TQSqlQuery TQSQLite3Driver::createQuery() const { return TQSqlQuery(new TQSQLite3Result(this)); |