Disabling bulk cursor changes broke a Jenkins compile

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2020-03-09
    • 1

      luke.pearson the changes for WT-5540 appear to have compilation errors for some configurations. You can see the errors here http://build.wiredtiger.com:8080/job/wiredtiger/7543/console

      They're of the form (there are many, this is just a sampling):

      ../src/btree/bt_cursor.c: In function ‘__btcur_update’:
      ../src/include/misc.h:169:40: error: ‘state.flags’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
       #define FLD_MASK(field, mask) ((field) & (mask))
                                              ^
      ../src/btree/bt_cursor.c:1200:22: note: ‘state.flags’ was declared here
           WT_CURFILE_STATE state;
                            ^
      ../src/btree/bt_cursor.c:47:19: error: ‘state.recno’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
           cursor->recno = state->recno;
      

              Assignee:
              Luke Pearson
              Reporter:
              Susan LoVerso (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: