Don't ask to ask, just ask | |
PerlMonks |
Re^2: Handle MySQL BIT data type in Perlby pg (Canon) |
on Nov 01, 2005 at 05:00 UTC ( [id://504499]=note: print w/replies, xml ) | Need Help?? |
SQL_BIT is defined, when I ran:
One of the output line says:
So there was some hope... However the following code compiled okay, but still gave the same error (data too long):
This further proves to me that, just like Zaxo and I diiscussed in private, this is a bug, integer was not trimed to fit. By the way, I tested Zaxo's chr(3) bit, and that worked. Or we can put it in virtualsue's way, the DBD has not yet updated for MySQL 5. By the way, MySQL only started to support BIT data type in version 5.
In Section
Seekers of Perl Wisdom
|
|