--- zabbix-2.2.7/src/libs/zbxdbcache/dbconfig.c	2014-10-24 13:54:43.000000000 +0200
+++ zabbix-2.2.7+nodefix/src/libs/zbxdbcache/dbconfig.c	2014-11-28 17:06:37.262801547 +0100
@@ -2786,7 +2786,7 @@
 			HOST_STATUS_MONITORED, HOST_STATUS_NOT_MONITORED,
 			HOST_STATUS_PROXY_ACTIVE, HOST_STATUS_PROXY_PASSIVE,
 			ZBX_FLAG_DISCOVERY_PROTOTYPE,
-			DBand_node_local("hostid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2808,7 +2808,7 @@
 				ZBX_SQL_NODE,
 			HOST_STATUS_MONITORED, HOST_STATUS_NOT_MONITORED,
 			ZBX_FLAG_DISCOVERY_PROTOTYPE,
-			DBand_node_local("i.itemid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2827,7 +2827,7 @@
 				ZBX_SQL_NODE,
 			HOST_STATUS_MONITORED, HOST_STATUS_NOT_MONITORED,
 			ZBX_FLAG_DISCOVERY_PROTOTYPE,
-			DBand_node_local("h.hostid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2839,7 +2839,7 @@
 			" from trigger_depends d"
 			ZBX_SQL_NODE
 			" order by d.triggerid_down",
-			DBwhere_node_local("d.triggerid_down"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2857,7 +2857,7 @@
 				ZBX_SQL_NODE,
 			HOST_STATUS_MONITORED, HOST_STATUS_NOT_MONITORED,
 			ZBX_FLAG_DISCOVERY_PROTOTYPE,
-			DBand_node_local("h.hostid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2868,7 +2868,7 @@
 			"select hostid,inventory_mode"
 			" from host_inventory"
 				ZBX_SQL_NODE,
-			DBwhere_node_local("hostid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2880,7 +2880,7 @@
 			" from hosts_templates"
 			ZBX_SQL_NODE
 			" order by hostid,templateid",
-			DBwhere_node_local("hosttemplateid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2891,7 +2891,7 @@
 			"select globalmacroid,macro,value"
 			" from globalmacro"
 			ZBX_SQL_NODE,
-			DBwhere_node_local("globalmacroid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2902,7 +2902,7 @@
 			"select hostmacroid,hostid,macro,value"
 			" from hostmacro"
 			ZBX_SQL_NODE,
-			DBwhere_node_local("hostmacroid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2913,7 +2913,7 @@
 			"select interfaceid,hostid,type,main,useip,ip,dns,port"
 			" from interface"
 			ZBX_SQL_NODE,
-			DBwhere_node_local("interfaceid"))))
+			"")))
 	{
 		goto out;
 	}
@@ -2924,7 +2924,7 @@
 			"select r.name,e.expressionid,e.expression,e.expression_type,e.exp_delimiter,e.case_sensitive"
 			" from regexps r,expressions e"
 				" where r.regexpid=e.regexpid" ZBX_SQL_NODE,
-			DBand_node_local("r.regexpid"))))
+			"")))
 	{
 		goto out;
 	}
