Working With Binary Data and Crystal

1 view
Skip to first unread message

Chris Smith

unread,
Mar 7, 2011, 8:59:14 AM3/7/11
to crystal
Hey,
Lately I've been working with binary storage in MySQL and encountered
a few problems when working with crystal. For example when selecting
binary data from a row, the result seems to have the last byte (8
bits) stripped some times. Note that these problems did not appear
when I ran simple MySQL queries outside of crystal (with the default
php functions). Any help on this would be appreciated.

Speaking of crystal, I've seen progress from the twitter posts, are
you by any chance releasing it this month?

Thanks again,
Chris

Martin

unread,
Mar 7, 2011, 6:26:13 PM3/7/11
to crystal
Crystal is not really tested with binary data.

You can resolve this issue by changing the method clean_db_result() in
https://github.com/martinrusev/Crystal/blob/master/Crystal/Helper/Mysql.php
Reply all
Reply to author
Forward
0 new messages