[Mono-dev] Patch for Oracle dataprovider
Sergey Tikhonov
tsv at solvo.ru
Fri Dec 12 12:15:50 EST 2008
Hello,
I got a instance where mono throw an exception working with Oracle. The
problem is when I try to retrieve huge float from the database.
Oracle data provider tries to use Number type to get the data. I tracked
the problem down to usage of memory. It seems that size of allocated
buffer passed to OCI call is 2 times than allocated. Allocating the
buffer for the same size fixed that problem.
Here is the patch.
Thank you,
--
Sergey Tikhonov
Head, R&D department
Solvo Ltd.
Saint-Petersburg, Russia
http://www.solvo.ru
tsv at solvo.ru
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: oracleclient.patch
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081212/982574b2/attachment.pl
More information about the Mono-devel-list
mailing list