[Mono-dev] Maybe a System.Data.OracleClient.dll bug

Leszek Ciesielski skolima at gmail.com
Mon Oct 2 06:13:46 EDT 2006


I have started (finally!) to work on this bug. The test I am currently
using fails, with or without patch... although in an unexpected way.

On mono, it breaks with:

Failures:
1) MonoTests.System.Data.OracleClient.Oci.OciDefineHandleTest.TrimsWideUnicodeStringsTest
: Directly passed value mismatched
        String lengths are both 25.
        Strings differ at index 2.

        expected:<"chㄼar入act本ers插 utf8 l日ong">
         but was:<"ch?ar?act?ers? utf8 l?ong">
        -------------^

(If your PC does not render east-asian fonts - upper line contains
some japanese and chinese glyphs, in the lower they are replaced by
question marks.)
The string doesn't get trimmed. I suppose this is a problem with the
setup of my Oracle database.
To verify, I tried to run the code on MS.Net 1.1. It breaks... with
OracleException Ora 12571:TNS:packket writer failure. Any sugestions?
I attach the regression for bug 78840.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OciDefineHandleTest.cs
Type: application/octet-stream
Size: 5370 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20061002/7cfcdc0d/attachment.obj 


More information about the Mono-devel-list mailing list