Page 1 of 1

[patch_done] Error with large blob fields in Oracle

Posted: 03.09.2012, 16:32
by cfc
Hello, I have an error with large blob fields in Oracle. I watched TZOracleBlob.ReadBlob procedure (ZDbcOracleResultSet.pas) and obviously the block repeat ..... Until Offset <Cap, only runs once and the blob field is truncated.

regards

Posted: 03.09.2012, 19:35
by EgonHugeist
cfc,

which revision do you use? Do you use the SVN repositories?

Posted: 03.09.2012, 19:59
by cfc

Posted: 03.09.2012, 20:28
by EgonHugeist
cfc,

are you able to attach a patch? On the other hand it could take a while until i have the time to check the issue. But i must admit i'm not really surpriced about it. I have a failing oracle test remaining where we test "VeryLargeBlobs" > 2MB.

If you can check or rewrite the buffer reading would be great.

Posted: 03.09.2012, 20:49
by cfc
Sorry, I'm using http://svn.code.sf.net/p/zeoslib/code-0 ... es/testing.
Is it correct or should I use another path?

Posted: 03.09.2012, 21:28
by EgonHugeist
cfc,

yes this is the correct path...

Posted: 09.09.2012, 08:00
by EgonHugeist
cfc,

i think i got it! Patch done R1746. Can you test it?

Posted: 10.09.2012, 21:02
by cfc
Yes, now works perfectly
Thank you.