tmtm/ruby-mysql — pull request #23 by steveg-h (2013-10-11 10:48:32+00:00)
Title: Update packet.rb

eof? method can fail to recognise EOF, possibly depending on encodings. By explicitly unpacking the packet, the EOF packet first byte is always correctly recognised