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.