diff --git a/Data/testsuite/src/SessionImpl.cpp b/Data/testsuite/src/SessionImpl.cpp index 4e34412b2..e1c61f4ae 100644 --- a/Data/testsuite/src/SessionImpl.cpp +++ b/Data/testsuite/src/SessionImpl.cpp @@ -49,6 +49,10 @@ void SessionImpl::close() _connected = false; } +void SessionImpl::reset() +{ +} + bool SessionImpl::isConnected() const { diff --git a/Data/testsuite/src/SessionImpl.h b/Data/testsuite/src/SessionImpl.h index 3ed3ec6fa..f418c0e07 100644 --- a/Data/testsuite/src/SessionImpl.h +++ b/Data/testsuite/src/SessionImpl.h @@ -45,6 +45,9 @@ public: void close(); /// Closes the session. + void reset(); + /// Reset connection with dababase and clears session state, but without disconnecting + bool isConnected() const; /// Returns true if session is connected to the database, /// false otherwise.