Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force little endian byte order #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Oct 14, 2016

  1. force little endian byte order

    force geometry WKB to be generated little endian byte order since mysql seems to have a bug:
    
    https://dev.mysql.com/worklog/task/?id=1076
    
    Quote:
    
    http://postgis.refractions.net/pipermail/postgis-users/2003-June/002651.html
    
    * The MySQL code contains an assumption in the WKB handling that all WBK
    will be little endian. If you run MySQL spatial on a big endian machine
    (Sparc, PowerPC, PA-RISC) you will find things go amiss when you try to
    send WKB to little endian machines (x86), because your big endian
    machine will be creating invalid data (big endian data incorrectly
    flagged as little endian).
    Jeff Gran committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    6da5d0b View commit details
    Browse the repository at this point in the history