use-after-move: 'options' argument in StorageEngineImpl constructor

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • ALL
    • Execution Team 2020-07-27
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The uassert check in the StorageEngineImpl constructor reads the moved 'options' variable. This seems to be a violation of the use-after-move rule in C++.

      This check is only relevant to storage engines without --directoryperdb support.

              Assignee:
              Bynn Lee
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: