[icinga-checkins] icinga.org: icinga2/master: Add missing OnConfigLoaded calls in Ido{My, Pg}sqlConnection

git at icinga.org git at icinga.org
Thu Jun 16 14:22:24 CEST 2016


Module: icinga2
Branch: master
Commit: d415ff7373dcd6f5f10aa88a99de795cf94889e9
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=d415ff7373dcd6f5f10aa88a99de795cf94889e9

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Thu Jun 16 14:21:29 2016 +0200

Add missing OnConfigLoaded calls in Ido{My,Pg}sqlConnection

fixes #11951

---

 lib/db_ido_mysql/idomysqlconnection.cpp |    2 ++
 lib/db_ido_pgsql/idopgsqlconnection.cpp |    2 ++
 2 files changed, 4 insertions(+)

diff --git a/lib/db_ido_mysql/idomysqlconnection.cpp b/lib/db_ido_mysql/idomysqlconnection.cpp
index a1b3550..4e11f6f 100644
--- a/lib/db_ido_mysql/idomysqlconnection.cpp
+++ b/lib/db_ido_mysql/idomysqlconnection.cpp
@@ -44,6 +44,8 @@ IdoMysqlConnection::IdoMysqlConnection(void)
 
 void IdoMysqlConnection::OnConfigLoaded(void)
 {
+	ObjectImpl<IdoMysqlConnection>::OnConfigLoaded();
+
 	m_QueryQueue.SetName("IdoMysqlConnection, " + GetName());
 }
 
diff --git a/lib/db_ido_pgsql/idopgsqlconnection.cpp b/lib/db_ido_pgsql/idopgsqlconnection.cpp
index f5f22d7..e9e745d 100644
--- a/lib/db_ido_pgsql/idopgsqlconnection.cpp
+++ b/lib/db_ido_pgsql/idopgsqlconnection.cpp
@@ -48,6 +48,8 @@ IdoPgsqlConnection::IdoPgsqlConnection(void)
 
 void IdoPgsqlConnection::OnConfigLoaded(void)
 {
+	ObjectImpl<IdoPgsqlConnection>::OnConfigLoaded();
+
 	m_QueryQueue.SetName("IdoPgsqlConnection, " + GetName());
 }
 



More information about the icinga-checkins mailing list