aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar aldot <aldot@5e8054f6-fb45-0410-9d17-f830fe724320>2009-04-21 15:49:48 +0000
committerGravatar aldot <aldot@5e8054f6-fb45-0410-9d17-f830fe724320>2009-04-21 15:49:48 +0000
commit21547c17762139f8476b60257d07737112d55489 (patch)
treeed3e8e84c574e3ed93b9069cb2540aef4df261c1
parentab6d9a8181e15c833d980ddb71bc952af94f2908 (diff)
downloadndoutils-oracle-21547c17762139f8476b60257d07737112d55489.tar.gz
ndoutils-oracle-21547c17762139f8476b60257d07737112d55489.tar.bz2
- remove dead code
git-svn-id: https://www.nagiosforge.org/svn/ndoutils_oracle/trunk/ndoutils-1.4b7-oracle@91 5e8054f6-fb45-0410-9d17-f830fe724320
-rw-r--r--src/db.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/db.c b/src/db.c
index 8780204..04d4b74 100644
--- a/src/db.c
+++ b/src/db.c
@@ -682,10 +682,7 @@ int ndo2db_db_query(ndo2db_idi *idi, char *buf){
return result;
}
-/* executes a SQL statement */
-/*
- int ndo2db_db_merge_servicestatus(ndo2db_idi *idi, unsigned long v1, unsigned long v2, int v3, char *v4, char *v5, int v6, int v7, int v8, int v9, int v10, int v11, int v12, int v13, int v14, int v15, int v16, int v17, int v18, int v19, int v20, int v21, int v22, int v23, int v24, int v25, int v26, int v27, int v28, int v29, int v30, int v31, int v32, int v33, float v34, float v35, float v36, int v37, int v38, int v39, int v40, unsigned long v41, char *v42, char *v43, float v44, float v45, unsigned long v46)
-*/
+/* Execute an SQL statement that uses parameter binding. */
int ndo2db_db_query2(ndo2db_idi *idi, int type, void **data)
{
int result=NDO_OK;
@@ -704,9 +701,6 @@ int ndo2db_db_query2(ndo2db_idi *idi, int type, void **data)
switch(idi->dbinfo.server_type){
case NDO2DB_DBSERVER_ORACLE:
#ifdef USE_ORACLE
-/*
- if((query_result=ora_oci_merge_servicestatus(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46))){
-*/
if((query_result=ora_oci_query2(type, data))){
syslog(LOG_USER|LOG_INFO,"Error: ora_oci_query2() failed\n");
result=NDO_ERROR;