From: Michael Friedrich Date: Wed, 8 Jul 2015 11:58:12 +0000 (+0200) Subject: DB IDO: Don't clear endpoint* tables on start/reload X-Git-Tag: v2.3.7~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8545c5023a519e30f4742001a67aff9b1e02931d;p=icinga2 DB IDO: Don't clear endpoint* tables on start/reload fixes #9586 --- diff --git a/lib/db_ido/dbconnection.cpp b/lib/db_ido/dbconnection.cpp index 4cb73339c..c5948cf14 100644 --- a/lib/db_ido/dbconnection.cpp +++ b/lib/db_ido/dbconnection.cpp @@ -410,8 +410,8 @@ void DbConnection::PrepareDatabase(void) //ClearConfigTable("contactstatus"); ClearConfigTable("customvariables"); ClearConfigTable("customvariablestatus"); - ClearConfigTable("endpoints"); - ClearConfigTable("endpointstatus"); + //ClearConfigTable("endpoints"); + //ClearConfigTable("endpointstatus"); ClearConfigTable("host_contactgroups"); ClearConfigTable("host_contacts"); ClearConfigTable("host_parenthosts");