summaryrefslogtreecommitdiffstats
path: root/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-20 14:51:36 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-20 14:51:36 -0500
commit729d452ff6a1c628719fce274eeafcbd8374cf96 (patch)
tree6990cf7c9a0fe3f813bf0e652032ed0b54e1a8fc /src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
parentfddfb2779cdf33a5ae65c2ca77a3fdfde99d1ab9 (diff)
downloadtdesvn-729d452ff6a1c628719fce274eeafcbd8374cf96.tar.gz
tdesvn-729d452ff6a1c628719fce274eeafcbd8374cf96.zip
Fix FTBFS due to missing SQL driver method
This resolves Bug 2117
Diffstat (limited to 'src/svnqt/cache/sqlite3/qsql_sqlite3.cpp')
-rw-r--r--src/svnqt/cache/sqlite3/qsql_sqlite3.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
index 9badbef..6160eae 100644
--- a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
+++ b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp
@@ -320,6 +320,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));