Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58564

Add missing bitcastTo()'s in SBE HashAgg/HashJoin unittests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      There are some places in "sbe_hash_agg_test.cpp" and "sbe_hash_join_test.cpp" where sbe::Values are compared directly with native integer types, which is wrong.

      Each place should be fixed to use bitcastTo() to convert the sbe::Value to the appropriate integer type first before performing the comparison.

      Attachments

        Activity

          People

            andrew.paroski@mongodb.com Drew Paroski
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: