[Mono-bugs] [Bug 70930][Nor] Changed - SybaseClient: Unable to connect to Sybase 12.5.1
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 4 Jan 2005 01:49:53 -0500 (EST)
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 danielmorgan@verizon.net.
http://bugzilla.ximian.com/show_bug.cgi?id=70930
--- shadow/70930 2005-01-04 01:46:13.000000000 -0500
+++ shadow/70930.tmp.19435 2005-01-04 01:49:53.000000000 -0500
@@ -90,6 +90,25 @@
second step will also show the problem:
SybaseConnection myConnection = new SybaseConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
+
+------- Additional Comments From danielmorgan@verizon.net 2005-01-04 01:49 -------
+If you look in mcs/class/Mono.Data.Tda/Mono.Data.Tds.Protocol/Tds.cs
+
+I don't know if this correct or not, but it works for me.
+
+ public Tds (string dataSource, int port, int packetSize, int
+timeout, TdsVersion tdsVersion)
+ {
+ this.tdsVersion = tdsVersion;
+ this.packetSize = packetSize;
+ this.dataSource = dataSource;
+
+ if (packetSize <= 0)
+ packetSize = 512;
+
+ comm = new TdsComm (dataSource, port, packetSize, timeout, tdsVersion);
+ }
+