Incorrect comment regarding vc_db_read_values_by_count()

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Trivial
    • None
    • Affects Version/s: 2.2.6
    • Component/s: 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 ---
      

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

              Created:
              Updated:
              Resolved: