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

__statlog_config ignores return values.

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.3.0
    • Affects Version/s: None
    • Component/s: None

      @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);
      

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: