Fix FTBFS due to missing SQL driver method

This resolves Bug 2117
pull/1/head
Timothy Pearson 10 years ago
parent fddfb2779c
commit 729d452ff6

@ -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));

@ -70,6 +70,7 @@ public:
const TQString & host,
int port ) { return open (db, user, password, host, port, TQString()); }
void close();
bool ping();
TQSqlQuery createQuery() const;
bool beginTransaction();
bool commitTransaction();

Loading…
Cancel
Save