[SERVER-22567] GeoHash::unhash_fast is wrong on big endian Created: 10/Feb/16 Updated: 22/Feb/16 Resolved: 11/Feb/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Portability |
| Affects Version/s: | 3.3.1 |
| Fix Version/s: | 3.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 10 (02/19/16) |
| Participants: |
| Description |
|
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 |
| Comments |
| Comment by Githook User [ 11/Feb/16 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: |