MySQL Forums
Forum List  »  German

CONCAT clears BLOB
Posted by: Gregi P.
Date: May 02, 2010 05:29AM

I try to fill Longblobs in my DB. I'am using the following statement:

UPDATE Track_Data SET Data = Concat(Data, @Data) WHERE ID = 601

Data is a LONGBLOB field and @Data is the byte array to add.

It should add the new data to the existing data, but it runs twice and then resets the blobs length to 0. I can't guess why... Anyone got an idea??

I am uploading packages of about 8MB and the filesize is about 700MB.

Thanks in advance.

EDIT: Huch german Forum :)

Also ich versuche blobs nach und nach zu befüllen damit die einzelnen Pakete nicht so groß sind und mir MAX_ALLOWED_PACKET kein stress macht.

Hat jemand schon mal so was gehabt dass die blobs sich nach dem 2-3 Concat leeren?? Und wie kann man so ein Problem lösen?

Vielen Dank in Voraus.



Edited 1 time(s). Last edit at 05/02/2010 06:22AM by Gregi P..

Options: ReplyQuote


Subject
Views
Written By
Posted
CONCAT clears BLOB
2296
May 02, 2010 05:29AM


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.