Version 2.11.2 of libzdb is now available:
Download: http://tildeslash.com/libzdb/dist/libzdb-2.11.2.tar.gz
MD5 checksum: f3ebd6c32c47be084643a44d34459499
Changes in this release:
------------------------
New: Throw SQLException if a database access error occurs when ResultSet_next() is called. Previously, access errors could be masked as end of result set. Thanks to JiaQiang Xu.
Fixes: (Volodymyr Tarasenko) Possible mem leak in Oracle's blob operation fixed.
Fixes: MySQL and SQLite detection on ubuntu 12.04
On 04/10/2013 05:47 PM, Volodymyr Tarasenko wrote:
> Hi Pavlo,
>
> Could you check my last commit? Jan is planning to release 2.11.2
> version, I would like to be sure that this fix is working for you...
>
> Good luck,
> Volodymyr!
>
I've checked recent changes and everything works as expected. Thanks.
--
Best regards,
Pavlo Lavrenenko,
PortaOne, Inc., Junior Software Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7624
PortaOne - VoIP Solutions Company
Visit our Website: http://www.portaone.com
Hi. I have a question regarding
http://code.google.com/p/libzdb/source/detail?r=538 commit.
Currently because of next check:
> if (R->columns[i].buffer) {
> *size = (int)R->columns[i].length;
> return (const void *)R->columns[i].buffer;
> }
its possible to return a buffer with the size smaller than actual blob
size. OracleResultSet_getBlob() should fall through to the loop with
OCILobRead2() and RESIZE() with a check like:
> if (R->columns[i].buffer == NULL) {
> R->columns[i].buffer = ALLOC(LOB_CHUNK_SIZE);
> }
prior to the loop mentioned.
Should I duplicate this mail to bugs-libzdb(a)tildeslash.com?
Do you guys have mailing list archive available?
--
Best regards,
Pavlo Lavrenenko,
PortaOne, Inc., Junior Software Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7624
PortaOne - VoIP Solutions Company
Visit our Website: http://www.portaone.com