From d8352f9db21a44c56049d6a5b2223ff888676286 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 3 Sep 2014 18:37:52 -0500 Subject: Automated update from Qt3 --- src/sql/drivers/sqlite/qsql_sqlite.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/sql/drivers/sqlite/qsql_sqlite.cpp') diff --git a/src/sql/drivers/sqlite/qsql_sqlite.cpp b/src/sql/drivers/sqlite/qsql_sqlite.cpp index ece3b9ee3..92a66c72e 100644 --- a/src/sql/drivers/sqlite/qsql_sqlite.cpp +++ b/src/sql/drivers/sqlite/qsql_sqlite.cpp @@ -352,6 +352,17 @@ void TQSQLiteDriver::close() } } +bool TQSQLiteDriver::ping() +{ + if ( !isOpen() ) { + return FALSE; + } + + // FIXME + // Implement ping if available + return TRUE; +} + TQSqlQuery TQSQLiteDriver::createQuery() const { return TQSqlQuery(new TQSQLiteResult(this)); -- cgit v1.2.1