Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #1108] multi valued inserts on for *contacts #508
This issue has been migrated from Redmine: https://dev.icinga.com/issues/1108
Created by mfriedrich on 2011-01-12 14:48:00 +00:00
the idea of this patch is to remove the duplicate key thingy and introduce insert with grouped values...
queries are in dbqueries.c in idoutils, evaluation needed.
2011-02-03 15:40:29 +00:00 by mfriedrich 20891b2
2011-02-03 18:05:59 +00:00 by mfriedrich cb2d53f
2011-02-03 18:06:45 +00:00 by mfriedrich eaa1f9a
Updated by mfriedrich on 2011-02-03 12:34:20 +00:00
remove duplicate host contacts patch is foobar, not usable. had a problem in my mind about that.
*) ido2db is running
*) core startup/restart
Updated by mfriedrich on 2011-02-03 13:38:21 +00:00
that's rather easy to apply in the first place, but without any bindings though.
in order to test, we'll need to assign straigt contacts to host/service definitions.
shows that i made a mistake on the hosts ;D
Updated by mfriedrich on 2011-02-03 16:51:46 +00:00
oracle is a bit different. i thought i had tested that before, but at least oracle treats that stuff different - as usual.
a multi valued insert on oracle with sequence.nextval intact looks like this: