[Mono-bugs] [Bug 74917][Maj] Changed - OdbcParameters not working in Mono 1.1.7

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 20 05:16:44 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dfreund at runlevel-5.org.

http://bugzilla.ximian.com/show_bug.cgi?id=74917

--- shadow/74917	2005-05-20 03:40:02.000000000 -0400
+++ shadow/74917.tmp.13389	2005-05-20 05:16:44.000000000 -0400
@@ -201,6 +201,92 @@
 
 ------- Additional Comments From tsureshkumar at novell.com  2005-05-20 03:40 -------
 it seems you have not installed firbird odbc driver on linux. can you
 install that & post a stack trace on linux?
 
 
+
+------- Additional Comments From dfreund at runlevel-5.org  2005-05-20 05:16 -------
+I had not installed the Firebird Odbc-Driver on Linux before. I'm
+usually working with Informix. I only used Firebird because I thought
+it's easier for you to reproduce.
+
+Test Results:
+Windows/MS NET/Firebird Odbc: OK
+Windows/MS NET/Informix Odbc: OK
+Windows/Mono/Firebird odbc: empty result, no exception
+Windows/Mono/Informix Odbc: empty result, exception:
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in <0x00000> <unknown method>
+in (wrapper managed-to-native) System.Data.Odbc.libodbc:SQLExecute
+(intptr)
+in <0x00052> System.Data.Odbc.OdbcCommand:ExecSQL (System.String sql)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecSQL (string)
+in <0x00076> System.Data.Odbc.OdbcCommand:ExecuteNonQuery (Boolean
+freeHandle)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteNonQuery (bool)
+in <0x00015> System.Data.Odbc.OdbcCommand:ExecuteReader
+(CommandBehavior behavior)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteReader (System.Data.CommandBehavior)
+in <0x0000f> System.Data.Odbc.OdbcCommand:ExecuteReader ()
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteReader ()
+in <0x0018f> MainClass:Main (System.String[] args)
+
+Linux/Mono/Informix unixOdbc: empty result, exception:
+
+Unhandled Exception: System.Data.Odbc.OdbcException:
+[unixODBC][Informix][Informix ODBC Driver]Unspecified System Error = 
+-21000.
+in <0x00128> System.Data.Odbc.OdbcCommand:ExecSQL (System.String sql)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecSQL (string)
+in <0x00076> System.Data.Odbc.OdbcCommand:ExecuteNonQuery (Boolean
+freeHandle)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteNonQuery (bool)
+in <0x00015> System.Data.Odbc.OdbcCommand:ExecuteReader
+(CommandBehavior behavior)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteReader (System.Data.CommandBehavior)
+in <0x0000f> System.Data.Odbc.OdbcCommand:ExecuteReader ()
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteReader ()
+in <0x0018f> MainClass:Main (System.String[] args)
+
+
+Linux/Mono/Firebird unixOdbc: no result, excecption: 
+Unhandled Exception: System.Data.Odbc.OdbcException: [unixODBC]Driver
+not capable
+in <0x001ba> System.Data.Odbc.OdbcParameter:Bind (IntPtr hstmt, Int32
+ParamNum)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcParameter:Bind (intptr,int)
+in <0x0019c> System.Data.Odbc.OdbcCommand:Prepare ()
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:Prepare ()
+in <0x00041> System.Data.Odbc.OdbcCommand:ExecSQL (System.String sql)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecSQL (string)
+in <0x00076> System.Data.Odbc.OdbcCommand:ExecuteNonQuery (Boolean
+freeHandle)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteNonQuery (bool)
+in <0x00015> System.Data.Odbc.OdbcCommand:ExecuteReader
+(CommandBehavior behavior)
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteReader (System.Data.CommandBehavior)
+in <0x0000f> System.Data.Odbc.OdbcCommand:ExecuteReader ()
+in (wrapper remoting-invoke-with-check)
+System.Data.Odbc.OdbcCommand:ExecuteReader ()
+in <0x00148> MainClass:Main (System.String[] args)
+
+
+I hope that this is not too confusing :-)
+Let me know, if you need more info
+
+Thanx.


More information about the mono-bugs mailing list