Add comment on clearing tables on reconnect.

Refs #5565
This commit is contained in:
Michael Friedrich 2014-03-09 18:20:45 +01:00
parent 4a077c9ceb
commit 2f8b49f4ef
1 changed files with 6 additions and 1 deletions

View 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");