Tuesday, December 03, 2002, 2:04:03 AM, you wrote:
RCGT> I have successfully inserted and retrieved binary image files within
RCGT> MySQL. No big deal.
RCGT> However, for quite some time I was perplexed because only about half my
RCGT> image was going through.
RCGT> It seems that MySQL accepts insertion of a string into a BLOB field that
RCGT> is longer than the maximum length of the BLOB data-type and it will
RCGT> still accept it.
Yes, and it's mentioned in the manual:
If you assign a value to a BLOB or TEXT column that exceeds the
column type's maximum length, the value is truncated to fit.
RCGT> Perhaps MySQL should output an error or at least a warning to know the
RCGT> string is too long.
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ Victoria.Reznichenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net