[Mono-bugs] [Bug 340451] New: OdbcConnection. Database returns many null chars after database name

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 8 20:12:42 EST 2007


           Summary: OdbcConnection.Database returns many null chars after
                    database name
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: vvaradhan at novell.com
        ReportedBy: equistango at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

System.Data.Odbc.OdbcConnection conn = new
System.Data.Odbc.OdbcConnection("your conn string");

The output is always 256, independently of the database name. Extra characters
are (char)0.
The problem is OdbcConnection.GetInfo() not trimming the buffer returned by

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list