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

Automatic flag generation in s_all incorrectly processes entry with no value or 0

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • 3
    • StorEng - Defined Pipeline

      When adding to an entry to a set of automatically generated define values s_all does not handle the following two cases, nor does it issue an error.

      • Defining a symbol without value. The define will be moved to the correct lexicographically sorted location but no value will be generated for that define however the value will be skipped.
        #define A 1
        #define C 2
        #define B
        // Is transformed to
        #define A 1
        #define B
        #define C 4
        
      • Defining a symbol with a value of zero.
        #define A 1
        #define C 2
        #define B 0
        // Is transformed to
        #define A 1
        #define B 0
        #define C 4
        

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            marc.butler@mongodb.com Marc Butler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: