]> granicus.if.org Git - icinga2/commitdiff
DB IDO: Don't clear endpoint* tables on start/reload
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 8 Jul 2015 11:58:12 +0000 (13:58 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Mon, 13 Jul 2015 08:26:01 +0000 (10:26 +0200)
fixes #9586

lib/db_ido/dbconnection.cpp

index 4cb73339c689c9fc39a913d71cc39a9f7032a385..c5948cf1489c20a02d8e54e54f8eb8e286ed16b5 100644 (file)
@@ -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");