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

Incorrect comment regarding vc_db_read_values_by_count()

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 2.2.6
    • Server (S)

      The comment describes four parameters while the function has five:

      --- SNIP src/libs/zbxdbcache/valuecache.c ---
      
       * Parameters:  itemid        - [IN] the itemid                                     *
       *              value_type    - [IN] the value type (see ITEM_VALUE_TYPE_* defs)    *
       *              count         - [IN] the number of values to read                   *
       *              end_timestamp - [IN] the value timestamp to start reading with      *
      
      --- SNAP src/libs/zbxdbcache/valuecache.c ---
      
      static int      vc_db_read_values_by_count(zbx_uint64_t itemid, int value_type, zbx_vector_history_record_t *values,
                      int count, int end_timestamp)
      
      --- SNIP src/libs/zbxdbcache/valuecache.c ---
      

            Unassigned Unassigned
            okkuv9xh Marc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: