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

Obsolete constants in common.h

    XMLWordPrintable

Details

    • Team B
    • Sprint 49 (Feb 2019)
    • 0

    Description

      The following constants from include/common.h are only used in src/libs/zbxdbupgrade/dbupgrade_3030.c (as a part of ZBXNEXT-1443):

      /* item multiplier types */
      #define ITEM_MULTIPLIER_DO_NOT_USE		0
      #define ITEM_MULTIPLIER_USE			1
      
      /* item delta types */
      #define ITEM_STORE_AS_IS			0
      #define ITEM_STORE_SPEED_PER_SECOND		1
      #define ITEM_STORE_SIMPLE_CHANGE		2
      

      These definitions should be moved to the respective source file using them or removed completely and replaced in upgrade patch with actual values.

      Attachments

        Activity

          People

            sasha Alexander Vladishev
            cyclone Glebs Ivanovskis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: