error in inserting a long blob data
Diez B. Roggisch
deets_noospaam at web.de
Wed Feb 25 05:23:18 EST 2004
>
> values['attachmentpath'] contains the file data.
> The data type of the file data is LONGBLOB in MySql.
> I am not getting why it works for some file but not for others.
Do you have single quotes in your attachment - these would confuse the mysql
parser. I don't remember how to quote them for mysql (in oracle its '' for
a single quote) - but thats in the manuals.
--
Regards,
Diez B. Roggisch
More information about the Python-list
mailing list