felixge/node-mysql — pull request #301 by croquiscom (2012-10-11 04:10:05+00:00)
Title: patch for geometry type

for issue #299

I made a patch and test for geometry type.

--

There is a strange point.
For insertion, I give a buffer of WKBPoint type (1 byte for byte-order, 4 byte for type, 8 byte for x, 8 byte for y)
But when I fetch it from the database, I get four more bytes of zero in front of the buffer.

I can not find any information about this in the MySQL packet documentation.