diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-03 18:37:52 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-09-03 18:37:52 -0500 |
commit | d8352f9db21a44c56049d6a5b2223ff888676286 (patch) | |
tree | d42d56c1dcbab9701a7ad8fac3e46f4031391aa4 /src/sql/drivers/odbc | |
parent | ed5df1398ec8899bfea12d75f12a0f1474ef2258 (diff) | |
download | tqt3-d8352f9db21a44c56049d6a5b2223ff888676286.tar.gz tqt3-d8352f9db21a44c56049d6a5b2223ff888676286.zip |
Automated update from Qt3
Diffstat (limited to 'src/sql/drivers/odbc')
-rw-r--r-- | src/sql/drivers/odbc/qsql_odbc.cpp | 7 | ||||
-rw-r--r-- | src/sql/drivers/odbc/qsql_odbc.h | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/sql/drivers/odbc/qsql_odbc.cpp b/src/sql/drivers/odbc/qsql_odbc.cpp index 40739b36c..3bedbb8cc 100644 --- a/src/sql/drivers/odbc/qsql_odbc.cpp +++ b/src/sql/drivers/odbc/qsql_odbc.cpp @@ -1490,6 +1490,13 @@ void TQODBCDriver::close() setOpenError( FALSE ); } +bool TQODBCDriver::ping() +{ + // FIXME + // Implement ping if supported + return TRUE; +} + void TQODBCDriver::cleanup() { SQLRETURN r; diff --git a/src/sql/drivers/odbc/qsql_odbc.h b/src/sql/drivers/odbc/qsql_odbc.h index 0ce01703a..619212d4a 100644 --- a/src/sql/drivers/odbc/qsql_odbc.h +++ b/src/sql/drivers/odbc/qsql_odbc.h @@ -128,6 +128,7 @@ public: const TQString & host = TQString::null, int port = -1 ); void close(); + bool ping(); TQSqlQuery createQuery() const; TQStringList tables( const TQString& user ) const; TQSqlRecord record( const TQString& tablename ) const; |