2010-07-12 Veerapuram Varadhan <vvaradhan@novell.com>
[mono.git] / mcs / class / Mono.Data.Tds / Mono.Data.Tds.Protocol / ChangeLog
index 037fe48279698ed352ad4f6d78bd038c964d62c7..449d78533418e1fb8de8bff801859aa048469567 100644 (file)
@@ -1,3 +1,170 @@
+2010-07-12  Veerapuram Varadhan  <vvaradhan@novell.com>
+       
+       ** Fixes #569543
+       * Tds70.cs (ExecPrepared): Revert back to old changes.
+       * Tds80.cs (ExecPrepared): Override for Tds 8 version that optimizes 
+       network bandwidth.
+       
+2010-07-10  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes 620860
+       * Tds70.cs (Precision): New virtual property to handle Precision values 
+       across different Tds versions.
+       (WriteParameterInfo): Use defined Precision property instead of 
+       constant value.  Also handle Ulong and long max/min values properly.
+       * Tds80.cs (Precision): Override property to provide Tds 8 precision value.
+       
+2010-07-07  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsComm.cs (Append[DateTime]): Ugh.. ugh.. final fix for handling MinValue for DateTime.
+       
+2010-07-07  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #609109 - DateTime part
+       * TdsComm.cs (Append[DateTime]): More fix for handling SqlServer MinValue for DateTime.
+       
+2010-07-06  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #609109
+       * TdsComm.cs (Append[DateTime]): Handle datetime values sanely that are less than epoch.
+       (Append[string]): Fix boundary checking for availability of enough buffer
+       
+2010-07-03  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #609935
+       * TdsComm.cs (Append[string]): Fix boundary calculations of bytes 
+       to be written and available free buffer.
+       
+2010-06-15 Jonathan Chambers  <joncham@gmail.com>
+
+       * Tds.cs: Add {} around default switch case.
+
+2010-06-15  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #613087
+       * Tds.cs (ProcessLoginAck): Fix server version being compared in 
+       the switch-case.
+       * Tds70.cs (BuildPreparedParameters, BuildProcedureCall): Set default 
+       precision to 18 as used by MS.Net when connecting to SqlServer 7.0.
+       (BuildExec, ExecRPC): Marked protected in order to be used by Tds80 
+       and henceforth.
+       * Tds80.cs (Execute): Separated from Tds70 to include Tds80 changes.
+       
+2010-04-21  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #595918
+       * Tds70.cs (WriteParameterInfo): Write updated decimal value according 
+       to specified scale value.
+       
+2009-08-17  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #381151 NRE 
+       * Tds.cs (ProcessColumnInfo): Use Columns instead of creating a new list.
+       * TdsDataColumnCollection.cs (Clear, Add): New utility methods 
+       * Tdsxx.cs: ProcessColumnInfo definition changes.
+       
+2009-07-25  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds70.cs (ProcessColumnInfo): Update the new DataTypeName property.
+       * TdsDataColumn.cs: Added DataTypeName property accessors.
+       
+2009-07-25  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * TdsConnectionPool.cs: Fixed typo in ResetConnectionPool.
+
+2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #382734
+       * Tds80.cs: Consider queries with Parameters as RPCs and avoid formatting 
+       param values as strings.  Fixes issues with locale specific string 
+       formatting/conversions.
+       
+       * TdsRpcProcId.cs: New - enum of rpc Ids to use with RPC packet type.
+       
+2009-05-16  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds70.cs (WriteParameterInfo): Default precision is 29 and not 28.
+       
+2009-05-16  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds70.cs (WriteParameterInfo): Do not change the original 
+       param.TypeName value.
+       
+2009-05-16  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #382589
+       * Tds.cs (ServerTdsVersion): New property to access ServerVersion.
+       
+       * Tds70.cs (WriteParameterInfo): Treat Decimal types as Numeric 
+       types from SQL Server 2000.
+       
+       * TdsVersion.cs: Add SQL Server 2008 version.
+       
+2009-05-02  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #462947 - Patch by Gert Driesen
+       * Tds.cs (InitExec): More intialization of variables. 
+       
+2009-04-28  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds.cs (InitExec):  Move initialization of SequentialAccess related 
+       variables here.
+       
+2009-04-28  Veerapuram Varadhan  <vvaradhan@novell.com>
+       
+       * Tds.cs (ExecuteQuery): Reset all the variables related to LoadData 
+       when performing queries with SequentialAccess set to true.  Fixes 
+       incorrect handling of data retrieval when multiple queries are run 
+       with SequentialAccess set to true for the same instance of Tds.
+       
+2009-04-28  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds.cs (ExecuteQuery): Reset SequentialAccess read state variables 
+       in order to avoid blocking forever when two queries are executed with 
+       SequentialAccess set to true for the same instance of Tds.
+       
+2009-04-28  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes#463011
+       * Tds70.cs (Reset): Call base.Reset to update Database being used.
+
+2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * TdsConnectionPool.cs: if GetConnection() fails to create a
+       connection, try again several times and then throw. Improved
+       ResetConnectionPool() so that it does not immediately close
+       connections in use. Don't re-add connections that have been closed.
+
+       * Tds.cs: Connected tests the socket connection too. Made Disconnect()
+       not throw.
+
+       * TdsComm.cs: set more socket options (timeout and NoDelay) and have a
+       single entry point for reading from the stream.
+
+2009-03-23  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds.cs: Properly handle TdsColumnType.BigInt as we support TDS 8 now.
+       
+2009-03-15  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #463011
+       * Tds70.cs (Reset): Call base.Reset to update Database being used.
+       
+2009-03-14  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Tds70.cs (WriteParameterInfo): Handle scenarios of Partlentype, 
+       a TDS 9 feature.
+       
+2009-03-04  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsComm.cs (Append (*)): Do not create temporary byte arrays, 
+       instead manipulate directly. Saves quite a bit of allocations 
+       and improves performance.
+       (AppendInternal) : Do the math here.
+       (TdsByteOrder) : Property that indicates the byte-order-encoding which, 
+       is independent of host's byte-order-encoding.
+       (SendPhysicalPacket): Add packet-id to the header
+       
 2009-02-26  Veerapuram Varadhan  <vvaradhan@novell.com>
 
        * Tds.cs (ProcessLoginAck): Set TdsVersion to the version