felixge/node-mysql — pull request #331 by roddik (2012-11-13 12:07:07+00:00)
Title: Fixed queried BLOBs changing over time

As per [Buffer docs](http://nodejs.org/api/buffer.html#buffer_buf_slice_start_end), **Modifying the new buffer slice will modify memory in the original buffer!**, so using slice in `Parser.parseBuffer` leaves the resulting buffers queries from the DB changeable when a new append happens.

Effective results are blobs fetched from mysql are wrong before they are passed to the query callback.

Test case included.