[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Mono.Data.Tds / Mono.Data.Tds / ChangeLog
1 2010-07-06  Veerapuram Varadhan  <vvaradhan@novell.com>
2
3         * TdsMetaParameter.cs (Prepare): Use the count of characters in nvarchar 
4         param as the size, to match .NET implementation.
5         
6 2010-07-03  Veerapuram Varadhan  <vvaradhan@novell.com>
7
8         ** Fixes #609935
9         * TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of Size 
10         property to calculate the length of a nvarchar param.
11         
12 2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
13
14         * TdsComm.cs (Append):  When appending strings of length bigger than 
15         output buffer, calculate and iterate over the strings according to 
16         the output buffer length.  Fixes ArgumentOutOfRangeException.
17         
18 2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
19
20         * TdsBulkCopy.cs (WriteParameterInfo): Update default precision from 28 to 29.
21         
22 2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
23
24         * TdsComm.cs (Append): When appending smalldatetime values, cast value of 
25         days to short instead of ushort.  Fixes Tds error in RPC packet.
26         
27         * Tds70.cs (WriteParameterInfo): Instead of IsLargetType, compare only 
28         the types that can take 0xFFFF as size if value is null. 
29         
30 2009-05-26  Veerapuram Varadhan  <vvaradhan@novell.com>
31
32         * TdsMetaParameter.cs (GetMetaType): If param is Nullable, use IntN instead 
33         of BigInt for column type.
34         
35 2009-05-16  Veerapuram Varadhan  <vvaradhan@novell.com>
36
37         * TdsMetaParameter.cs (Prepare): Default precision is 29 and not 28.
38         
39 2009-05-12  Veerapuram Varadhan  <vvaradhan@novell.com>
40
41         ** Fixes rest of #497715 - Patch by Jonas Larsson <Jonas.Larsson@manodo.se>
42         * TdsMetaParameter.cs: Add support for XML type.  For now, handle 
43         XML type as just NVarchar.
44         
45 2009-03-23  Veerapuram Varadhan  <vvaradhan@novell.com>
46
47         * TdsMetaParameter.cs (GetMetaType): Return TdsColumnType.BigInt 
48         instead of TdsColumnType.IntN.
49         
50 2009-03-14  Veerapuram Varadhan  <vvaradhan@novell.com>
51
52         * TdsMetaParameter.cs (ResizeValue): Return unmodified value 
53         in case of size < 0.
54         
55 2009-01-17  Gert Driesen  <drieseng@users.sourceforge.net>
56
57         * TdsMetaParameter.cs: Modified signature of delegate to also allow
58         conversion to be triggered by changes in TdsMetaParameter.
59
60 2009-01-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
61
62         * TdsMetaParameter.cs: set_RawValue now calls set_Value so that
63         'isUpdated' is set.
64
65 2009-01-04  Gert Driesen  <drieseng@users.sourceforge.net>
66
67         * TdsMetaParameter.cs: Define delegate for performing conversion for
68         retrieving value as framework type from SqlParameter. Store both raw
69         value as converted/resized value to allow us to perform lazy
70         conversion. Only resize value if value or size were updated. Avoid
71         double casting in ResizeValue.
72
73 2008-05-29  Veerapuram Varadhan  <vvaradhan@novell.com>
74
75         * TdsMetaParameter.cs (set_Value): Truncate the value to the
76         specified size. Fixes bug #382635.
77
78 2007-07-24  Nagappan A  <anagappan@novell.com>
79
80         * TdsMetaParameter.cs (Prepare): Fixes Large strings truncated
81         with SqlClient - Bug # 82170.
82
83 2007-05-30  Nagappan A  <anagappan@novell.com>
84
85         * TdsMetaParameter.cs (GetActualSize): Multiply length by 2, if
86         the data type is nvarchar, nchar or ntext.
87         (GetSize): Added new case for decimal, uniqueidentifier,
88         smallmoney, bit, nchar, ntext.
89         (GetBytes): Implemented new internal method to encode the data.
90         (GetMetaType): Modified the return values appropriately.
91
92 2007-03-21  Nagappan A  <anagappan@novell.com>
93
94         * TdsMetaParameter.cs (Prepare): Include @ before parameter name,
95         if doesnot exist.
96
97 2007-03-16  Andreia Gaita  <avidigal@novell.com>
98
99         * TdsMetaParameter.cs: Add Validate() method. For now, validate 
100         size/value. Add isVariableSizeType.
101
102 2006-01-05  Senganal T  <tsenganal@novell.com>
103
104         * TdsMetaParameter.cs: Test for DbNull when updating the scale 
105         of decimal or numeric value. Fixes #77410
106
107         Patch By Sebastien Robitaille <sebastien.robitaille@croesus.com>
108
109 2005-10-20  Senganal T <tsenganal@novell.com>
110         
111         * TdsMetaParameter.cs: Set default values of Precision
112         and Scale for Decimal Parameters when not explicitly set.
113         Fixes #76467
114
115 2005-08-02  Joerg Rosenkranz <joergr@voelcker.com>
116
117         * TdsMetaParameter.cs: Send binary parameters with size > 8000
118         as image instead of varbinary. This fixes #75684.
119         
120 2005-05-27  Sureshkumar T  <tsureshkumar@novell.com>
121
122         * TdsMetaParameter.cs: Prepare: in SQL, a variable declaration
123         with size 0 is not allowed. fixes #62978.
124