aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/zabbix/files/patch-include::db.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/zabbix/files/patch-include::db.c')
-rw-r--r--net-mgmt/zabbix/files/patch-include::db.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/net-mgmt/zabbix/files/patch-include::db.c b/net-mgmt/zabbix/files/patch-include::db.c
deleted file mode 100644
index 65b688a2ee3d..000000000000
--- a/net-mgmt/zabbix/files/patch-include::db.c
+++ /dev/null
@@ -1,41 +0,0 @@
---- include/db.c.orig Sun Feb 15 09:55:55 2004
-+++ include/db.c Sun Feb 15 09:56:53 2004
-@@ -123,6 +123,10 @@
- */
- int DBexecute(char *query)
- {
-+#ifdef HAVE_PGSQL
-+ PGresult *result;
-+#endif
-+
- /* zabbix_set_log_level(LOG_LEVEL_DEBUG);*/
- zabbix_log( LOG_LEVEL_DEBUG, "Executing query:%s",query);
- #ifdef HAVE_MYSQL
-@@ -138,8 +142,6 @@
- }
- #endif
- #ifdef HAVE_PGSQL
-- PGresult *result;
--
- result = PQexec(conn,query);
-
- if( result==NULL)
-@@ -168,6 +170,9 @@
- */
- DB_RESULT *DBselect(char *query)
- {
-+#ifdef HAVE_PGSQL
-+ PGresult *result;
-+#endif
- /* zabbix_set_log_level(LOG_LEVEL_DEBUG);*/
- zabbix_log( LOG_LEVEL_DEBUG, "Executing query:%s",query);
- #ifdef HAVE_MYSQL
-@@ -185,8 +190,6 @@
- return mysql_store_result(&mysql);
- #endif
- #ifdef HAVE_PGSQL
-- PGresult *result;
--
- result = PQexec(conn,query);
-
- if( result==NULL)