]> granicus.if.org Git - postgis/commit
BTree sorting logic fix
authorSandro Santilli <strk@kbt.io>
Thu, 12 Oct 2017 16:30:17 +0000 (16:30 +0000)
committerSandro Santilli <strk@kbt.io>
Thu, 12 Oct 2017 16:30:17 +0000 (16:30 +0000)
commitebb5f4c502135be1900ad936d923952abad3973a
tree95982551a8b8f99b53cbd58156cbe93a3fd5fd92
parent25073ed4c3dcc5601a0eaf68af4079ea375f4bfb
BTree sorting logic fix

Sort geometries that have different length but same prefix

- allow fast path for geography points
- fix gcc warnings
- compare EMPTY geometries as normal memcmp path

Patch by Darafei Praliaskouski <me@komzpa.net>

Fixes #3899

git-svn-id: http://svn.osgeo.org/postgis/trunk@15975 b70326c6-7e19-0410-871a-916f4a2858ee
liblwgeom/g_serialized.c