Fixed missing method in SessionImpl in tests

This commit is contained in:
Vojtěch Erben 2018-11-20 13:19:37 +01:00
parent a73462aedf
commit 5fc6c904bd
2 changed files with 7 additions and 0 deletions

View File

@ -49,6 +49,10 @@ void SessionImpl::close()
_connected = false;
}
void SessionImpl::reset()
{
}
bool SessionImpl::isConnected() const
{

View File

@ -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.