fix errors in log_read.pl example and expand

TYPE => 999 was a test that should not have been checked in.
Expand to show the difference between retrieving as SQL_BINARY and
SQL_CHAR.