MySQL Forums
Forum List  »  Perl

Re: Error? on execution of image blob insertion
Posted by: Rick James
Date: August 30, 2008 03:03PM

Possibility 1: Running out of RAM for Perl. Especially by appending repeatedly to "data". Might be more efficient to read big chunks into @array, then join('', @array).

Possibility 2: Overflow of max_allowed_packet / etc

Be sure to avoid any utf8 conversions, CRLF fixes, etc when reading the image file.

Options: ReplyQuote


Subject
Written By
Posted
Re: Error? on execution of image blob insertion
August 30, 2008 03:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.