Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18174

Host macro updates when linking templates on server is broken with Oracle DB

XMLWordPrintable

    • Sprint 67 (Aug 2020), Sprint 68 (Sep 2020)
    • 0.125

      libs/zbxdbhigh/host.c:DBhost_prototypes_save()

      	if (new_hosts != host_prototypes->values_num || 0 != upd_group_prototypes)
      	{
      		sql1 = (char *)zbx_malloc(sql1, sql1_alloc);
      		DBbegin_multiple_update(&sql1, &sql1_alloc, &sql1_offset);
      	}
      

      When only host macros are being updated the DBbegin_multiple_update() is not called, which should break the update sql query on Oracle.

            arimdjonoks Artjoms Rimdjonoks
            wiper Andris Zeila
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: