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

GeoHash::unhash_fast is wrong on big endian

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.2
    • Affects Version/s: 3.3.1
    • Component/s: Portability
    • None
    • Fully Compatible
    • ALL
    • Platforms 10 (02/19/16)

      GeoHash::unhash_fast is wrong on big endian (it involves a reinterpret_cast on the bytes of a long long, goes in the wrong order on big endian).

      We should eventually make it correct, but for now simply using unhash_slow will do the job

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: