[icinga-checkins] icinga.org: icinga-core/test/ido: idoutils: fixed dropped binding from last commit

git at icinga.org git at icinga.org
Mon Mar 11 23:09:05 CET 2013


Module: icinga-core
Branch: test/ido
Commit: 0604961c655db069bce2b3b03419f878012ca367
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=0604961c655db069bce2b3b03419f878012ca367

Author: Thomas Dressler <tdressler at tdressler.net>
Date:   Wed Oct 31 21:59:03 2012 +0100

idoutils: fixed dropped binding from last commit

refs #3412

---

 module/idoutils/src/dbqueries.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/module/idoutils/src/dbqueries.c b/module/idoutils/src/dbqueries.c
index 14a2f4d..746dea3 100644
--- a/module/idoutils/src/dbqueries.c
+++ b/module/idoutils/src/dbqueries.c
@@ -2221,7 +2221,9 @@ int ido2db_query_insert_servicecheckdata_add(ido2db_idi *idi, void **data) {
 	if (!OCI_BindInt(idi->dbinfo.oci_statement_servicechecks, MT(":X16"), (int *) data[15])) {
 		return IDO_ERROR;
 	}
-
+	if (!OCI_BindUnsignedInt(idi->dbinfo.oci_statement_servicechecks, MT(":X20"), (uint *) data[19])) {
+			return IDO_ERROR;
+	}
 
 	if (*(char **) data[20] == NULL) {
 		if (ido2db_oci_prepared_statement_bind_null_param(idi->dbinfo.oci_statement_servicechecks, ":X21") == IDO_ERROR) {





More information about the icinga-checkins mailing list