icinga2/lib/db_ido
Michael Friedrich 0cbedf495a IDO: Ensure that the notification insert id is passed to contactnotification inserts
We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.

This patch also removes the old notification insert id cache
which was broken in many ways.

fixes #11387
2016-04-20 10:07:24 +02:00
..
CMakeLists.txt Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
commanddbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
commanddbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
db_ido-itl.conf Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dbconnection.cpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
dbconnection.hpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
dbconnection.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dbevents.cpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
dbevents.hpp DB IDO: Only update 'next_check' column when manually scheduling a check 2016-02-23 09:25:05 +01:00
dbobject.cpp Remove debug output, part 2 2016-02-23 09:31:52 +01:00
dbobject.hpp Fix priority ordering for IDO queries 2016-02-23 09:09:06 +01:00
dbquery.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dbquery.hpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
dbreference.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dbreference.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
dbtype.cpp Fix incorrect is_active queries 2016-02-23 09:18:24 +01:00
dbtype.hpp Fix incorrect is_active queries 2016-02-23 09:18:24 +01:00
dbvalue.cpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
dbvalue.hpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
endpointdbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
endpointdbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
hostdbobject.cpp DB IDO: PArtially revert change for *group_members 2016-02-23 09:45:10 +01:00
hostdbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
hostgroupdbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
hostgroupdbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
i2-db_ido.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
idochecktask.cpp Fix crash in IdoCheckTask::ScriptFunc 2016-02-23 09:33:47 +01:00
idochecktask.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
servicedbobject.cpp DB IDO: PArtially revert change for *group_members 2016-02-23 09:45:10 +01:00
servicedbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
servicegroupdbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
servicegroupdbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
timeperioddbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
timeperioddbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
userdbobject.cpp DB IDO: Fix user notification type filters 2016-03-15 14:53:25 +01:00
userdbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
usergroupdbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
usergroupdbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
zonedbobject.cpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
zonedbobject.hpp Update copyright headers for 2016 2016-01-12 08:31:24 +01:00