BLOB corrupted from previous version

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

wwywt
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: 17.12.2010, 11:11

Post by wwywt »

I have no idea to do .
my solution:
1、add a bool field to table default false.
2、read the bool field first.if true then zquery.property.add('OldBLOB=true').if false do nothing.
3、read the blobdata
4、save the blob to a file
5、update the field use the file and change the bool field to true.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Patch aviable in testing-egonhugeist Revision 1135.

Use 'OldBlobEncoding=True' in the TZConnection.Properties.

best regards
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked