SponsorPay/ruby-binlog — pull request #1 by simao (2013-03-26 10:18:36+00:00)
Title: Changes in int casting

Cast mysql short ints to unsigned ints before converting them to
unsigned ints in ruby. This can come back and bite us if we use signed
short ints.

Always cast MYSQL_TYPE_LONG to signed 32 bit ints.

Always cast MYSQL_TYPE_LONGLONG to signed 64 bit ints.