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

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.4rc1, 5.2.0alpha3, 5.2 (plan)
    • Component/s: Server (S)
    • Labels:
      None
    • Environment:
      Oracle
    • Team:
      Team C
    • Sprint:
      Sprint 67 (Aug 2020), Sprint 68 (Sep 2020)
    • Story Points:
      0.125

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              arimdjonoks Artjoms Rimdjonoks
              Reporter:
              wiper Andris Zeila
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: