diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-14 14:05:01 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-14 14:05:01 +0000 |
| commit | 3273577ef09fe936c968074b9c7ef199ff122c70 (patch) | |
| tree | 7c3ecd865fae23cb02067d8e2370b33b2660bb0b /src/libs/zbxdbhigh/host.c | |
| parent | 51d63bbf1dbe38e07b0e54a395571bfdecc565e5 (diff) | |
| download | zabbix-3273577ef09fe936c968074b9c7ef199ff122c70.tar.gz zabbix-3273577ef09fe936c968074b9c7ef199ff122c70.tar.xz zabbix-3273577ef09fe936c968074b9c7ef199ff122c70.zip | |
- merged -r4295:4296 of branches/1.4.1/ (Eugene) [fixed template aplication synchronization]
git-svn-id: svn://svn.zabbix.com/trunk@4297 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxdbhigh/host.c')
| -rw-r--r-- | src/libs/zbxdbhigh/host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxdbhigh/host.c b/src/libs/zbxdbhigh/host.c index 6ccbd596..11b33824 100644 --- a/src/libs/zbxdbhigh/host.c +++ b/src/libs/zbxdbhigh/host.c @@ -1193,7 +1193,7 @@ static void DBdelete_template_applications( { tmp_hostid = 0; - db_tmp_hosts = DBselect("select applicationid,templateid,name from applications where hostid=" ZBX_FS_UI64, templateid); + db_tmp_hosts = DBselect("select hostid from applications where applicationid=" ZBX_FS_UI64, a_templateid); if( (tmp_host_data = DBfetch(db_tmp_hosts) )) { |
