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
commit8831f8aab0c049b494ba8c0dd8e6c5b45b747a74 (patch)
treeab08dd53d339ef10d0c9395d08c496af159040a4 /project2/sql/rdbmsDataSource.cpp
parentRemove dependency on xml lib (functionality tested separately) (diff)
downloadproject2-8831f8aab0c049b494ba8c0dd8e6c5b45b747a74.tar.bz2
project2-8831f8aab0c049b494ba8c0dd8e6c5b45b747a74.tar.xz
project2-8831f8aab0c049b494ba8c0dd8e6c5b45b747a74.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();
}