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

Fix test/format problems where the wrong type of value was used to turn a configuration value off

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT10.0.1, 5.2.0, 5.0.5
    • None
    • None

    Description

      etienne.petrel writes:

      Another potential fix related to the recent test/format changes:
      We have had two issues related to compatibility-test-for-newer-releases on Compatibility tests, see here and here.
      The error is:

      t: FAILED: t: btree.prefix_len=off: illegal numeric value or value out of range: Invalid argument
      

      Seems that the off value is not correctly interpreted for btree.prefix_len. I had a quick look at config_def.c and I believe we are missing the C_BOOL variable if we want off to be correctly interpreted. However, if we do this, it means we could do btree.prefix_len=on and things would work while... it might not make sense.
      Instead we may want to edit the BC_CHECK macro here so it sets the btree.prefix_len to 0 instead of off when it needs to be disabled.

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic
              keith.bostic@mongodb.com Keith Bostic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: