[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Data.Tds / Mono.Data.Tds / ChangeLog
index a615b091a7ece1054cae48ed04eff1c39941e8db..20bd6e2e7aa9a59b9f7ad8f7b946ab6c04fb4cd9 100644 (file)
@@ -1,3 +1,104 @@
+2010-07-06  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsMetaParameter.cs (Prepare): Use the count of characters in nvarchar 
+       param as the size, to match .NET implementation.
+       
+2010-07-03  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes #609935
+       * TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of Size 
+       property to calculate the length of a nvarchar param.
+       
+2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsComm.cs (Append):  When appending strings of length bigger than 
+       output buffer, calculate and iterate over the strings according to 
+       the output buffer length.  Fixes ArgumentOutOfRangeException.
+       
+2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsBulkCopy.cs (WriteParameterInfo): Update default precision from 28 to 29.
+       
+2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsComm.cs (Append): When appending smalldatetime values, cast value of 
+       days to short instead of ushort.  Fixes Tds error in RPC packet.
+       
+       * Tds70.cs (WriteParameterInfo): Instead of IsLargetType, compare only 
+       the types that can take 0xFFFF as size if value is null. 
+       
+2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsMetaParameter.cs (GetMetaType): If param is Nullable, use IntN instead 
+       of BigInt for column type.
+       
+2009-05-16  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsMetaParameter.cs (Prepare): Default precision is 29 and not 28.
+       
+2009-05-12  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       ** Fixes rest of #497715 - Patch by Jonas Larsson <Jonas.Larsson@manodo.se>
+       * TdsMetaParameter.cs: Add support for XML type.  For now, handle 
+       XML type as just NVarchar.
+       
+2009-03-23  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsMetaParameter.cs (GetMetaType): Return TdsColumnType.BigInt 
+       instead of TdsColumnType.IntN.
+       
+2009-03-14  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsMetaParameter.cs (ResizeValue): Return unmodified value 
+       in case of size < 0.
+       
+2009-01-17  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * TdsMetaParameter.cs: Modified signature of delegate to also allow
+       conversion to be triggered by changes in TdsMetaParameter.
+
+2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+       * TdsMetaParameter.cs: set_RawValue now calls set_Value so that
+       'isUpdated' is set.
+
+2009-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
+
+       * TdsMetaParameter.cs: Define delegate for performing conversion for
+       retrieving value as framework type from SqlParameter. Store both raw
+       value as converted/resized value to allow us to perform lazy
+       conversion. Only resize value if value or size were updated. Avoid
+       double casting in ResizeValue.
+
+2008-05-29  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * TdsMetaParameter.cs (set_Value): Truncate the value to the
+       specified size. Fixes bug #382635.
+
+2007-07-24  Nagappan A  <anagappan@novell.com>
+
+       * TdsMetaParameter.cs (Prepare): Fixes Large strings truncated
+       with SqlClient - Bug # 82170.
+
+2007-05-30  Nagappan A  <anagappan@novell.com>
+
+       * TdsMetaParameter.cs (GetActualSize): Multiply length by 2, if
+       the data type is nvarchar, nchar or ntext.
+       (GetSize): Added new case for decimal, uniqueidentifier,
+       smallmoney, bit, nchar, ntext.
+       (GetBytes): Implemented new internal method to encode the data.
+       (GetMetaType): Modified the return values appropriately.
+
+2007-03-21  Nagappan A  <anagappan@novell.com>
+
+       * TdsMetaParameter.cs (Prepare): Include @ before parameter name,
+       if doesnot exist.
+
+2007-03-16  Andreia Gaita  <avidigal@novell.com>
+
+       * TdsMetaParameter.cs: Add Validate() method. For now, validate 
+       size/value. Add isVariableSizeType.
+
 2006-01-05  Senganal T  <tsenganal@novell.com>
 
        * TdsMetaParameter.cs: Test for DbNull when updating the scale