Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1095

__statlog_config ignores return values.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.3.0
    • Component/s: None
    • Labels:

      Description

      @agorrod, __statlog_config ignores some return values, it's from commit ade47b57, can you please take a look?

              /*
               * Statistics logging configuration requires either a wait time or an
               * on-close setting.
               */
              if (*runp == 0 && !FLD_ISSET(conn->stat_flags, WT_CONN_STAT_ON_CLOSE))
                      return (0);
                       
              ret = (__wt_config_gets(session, cfg, "statistics_log.sources", &cval));
              ret = (__wt_config_subinit(session, &objectconf, &cval));
              for (cnt = 0; (ret = __wt_config_next(&objectconf, &k, &v)) == 0; ++cnt)
                      ;
              WT_RET_NOTFOUND_OK(ret);
      

        Attachments

          Activity

            People

            Assignee:
            alexander.gorrod Alexander Gorrod
            Reporter:
            keith.bostic Keith Bostic
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: