]> granicus.if.org Git - icinga2/commitdiff
Add comment on clearing tables on reconnect.
authorMichael Friedrich <Michael.Friedrich@netways.de>
Sun, 9 Mar 2014 17:20:45 +0000 (18:20 +0100)
committerMichael Friedrich <Michael.Friedrich@netways.de>
Sun, 9 Mar 2014 17:20:45 +0000 (18:20 +0100)
Refs #5565

lib/db_ido/dbconnection.cpp

index 7ee96e18d6579b0f2df04e25217c86dced7a36ab..92c0c6ac0899a2bcd4c4e241a4b61ce8e9c7e721 100644 (file)
@@ -311,7 +311,12 @@ void DbConnection::UpdateAllObjects(void)
 
 void DbConnection::PrepareDatabase(void)
 {
-       /* TODO make hardcoded table names modular */
+       /* 
+        * only clear tables on reconnect which
+        * cannot be updated by their existing ids
+        * for details check https://dev.icinga.org/issues/5565
+        */
+
        //ClearConfigTable("commands");
        ClearConfigTable("comments");
        ClearConfigTable("contact_addresses");