DateTime support & some test tidying

This commit is contained in:
Aleksandar Fabijanic
2007-08-20 11:55:18 +00:00
parent 2dbfb583c9
commit 3b66a355c2
23 changed files with 266 additions and 164 deletions

View File

@@ -91,6 +91,12 @@ bool SessionImpl::isConnected()
}
bool SessionImpl::isTransaction()
{
return false;
}
bool SessionImpl::getConnected(const std::string& name)
{
return _connected;

View File

@@ -75,6 +75,9 @@ public:
/// Returns true if session is connected to the database,
/// false otherwise.
bool isTransaction();
/// Returns true iff a transaction is a transaction is in progress, false otherwise.
void setConnected(const std::string& name, bool value);
bool getConnected(const std::string& name);
/// Sets/gets the connected property.