summaryrefslogtreecommitdiff
path: root/project2/sql/rdbmsDataSource.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <randomdan@akira.random.lan>2014-11-29 16:43:25 +0000
committerDan Goodliffe <randomdan@akira.random.lan>2014-11-29 16:43:25 +0000
commitb3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53 (patch)
treeab08dd53d339ef10d0c9395d08c496af159040a4 /project2/sql/rdbmsDataSource.cpp
parentRemove dependency on xml lib (functionality tested separately) (diff)
downloadproject2-b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53.tar.bz2
project2-b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53.tar.xz
project2-b3fdd29f6ca5d2f43eed835a1b02723fc8d0fd53.zip
Remove the continue on error options for plugables and add proper handling into implementations where errors can be ignored
Diffstat (limited to 'project2/sql/rdbmsDataSource.cpp')
-rw-r--r--project2/sql/rdbmsDataSource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/sql/rdbmsDataSource.cpp b/project2/sql/rdbmsDataSource.cpp
index 7965a29..86c6a6e 100644
--- a/project2/sql/rdbmsDataSource.cpp
+++ b/project2/sql/rdbmsDataSource.cpp
@@ -13,7 +13,7 @@ SimpleMessageException(UnknownConnectionProvider);
/// Specialized ElementLoader for instances of RdbmsDataSource; handles persistent DB connections
class RdbmsDataSourceLoader : public ElementLoader::For<RdbmsDataSource> {
public:
- void onIdle()
+ void onIdle() override
{
// Disconnect all cached database connections
RdbmsDataSource::dbhosts.clear();
@@ -22,7 +22,7 @@ class RdbmsDataSourceLoader : public ElementLoader::For<RdbmsDataSource> {
{
return con.second->isExpired();
}
- void onPeriodic()
+ void onPeriodic() override
{
// Disconnect expired database connections
RdbmsDataSource::DBHosts::iterator i;
@@ -30,7 +30,7 @@ class RdbmsDataSourceLoader : public ElementLoader::For<RdbmsDataSource> {
RdbmsDataSource::dbhosts.erase(i);
}
}
- void onIteration()
+ void onIteration() override
{
RdbmsDataSource::changedDSNs.clear();
}