merge -r 60439:60440
[mono.git] / mcs / class / System.Data / Mono.Data.SqlExpressions / ChangeLog
1 2006-05-02  Senganal T  <tsenganal@novell.com>
2
3         * Parser.jay : fix the rule for IsNull. Fixes bug #78254
4         * Functions.cs : 
5                 - IsNullFunction.Eval : If expr evaluates to null or DBNull.Value, return the
6                 default expression value.
7
8 2006-03-27      Boris Kirzner <borisk@mainsoft.com>
9         * Aggregation.cs: fix possible NullReferenceException.
10
11 2006-02-03  Senganal T  <tsenganal@novell.com>
12         
13         * ColumnReference.cs : 
14                 - GetReferencedRow () 
15                 - GetReferencedRows() : Verify the column before getting the values.
16                         Validate the ColumnReference even when the table has no rows.
17         * Function.cs : Modified Eval()
18                 - A tmp fix to check for null. Expression.Eval needs to be modified all
19                 around to return DBNull.Value.
20
21 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
22         * ColumnReference.cs: added column and relation lazy evaluation 
23         and caching.
24
25 2006-01-09 Senganal T <tsenganal@novell.com>
26         * Aggregation.cs
27         * Expression.cs
28                 - resolving a name clash in IExpression 
29
30 2006-01-06 Senganal T <tsenganal@novell.com>
31
32         * Aggregation.cs
33                 - a correction to the previous check-in
34
35 2006-01-06 Senganal T <tsenganal@novell.com>
36
37         * Aggregation.cs
38                 - Modified the cache to listen for RowChangedEvents.
39         * Expression.cs
40         * IExpression.cs
41                 - Added a Reset Method to cleanup when a Datacolumn is removed
42                 from a table.
43         * Parser.jay
44                 - Modified to check :
45                 1.Aggregate Functions : Only for columns returning multiple values (child/local)
46                 2.Other Numeric/Functions : Only for columns that return single value (parent/local)
47
48 2005-12-20 Senganal T <tsenganal@novell.com>
49
50         * Aggregation.cs :
51                 Modified the Eval and CalculateStatisticalFunction to add boundary checks.
52                 Fixes #77025.
53
54 2005-11-30 Konstantin Triger <kostat@mainsoft.com>
55
56         * Parser.jay: use Convert.ToInt32() instead of cast to throw OverflowException.
57
58 2005-10-26 Konstantin Triger <kostat@mainsoft.com>
59
60         * In.cs: Fix the enumerator initialization problem.
61
62 2005-10-21 Senganal T <tsenganal@novell.com>
63
64         * Numeric.cs :
65                 - Modified the Max and Min functions to convert strings(numeric) to
66                 double. Fixes bug #76213. 
67         
68 2005-09-19 Boris Kirzner <borisk@mainsoft.com>
69         * ColumnReference.cs, Expressions.cs, Like.cs, Aggregation.cs, Literal.cs,
70         StringFunctions.cs, In.cs, Functions.cs : implemented Equals() 
71         and GetHashCode() methods for all Mono.Data.SqlExpressions classes,enabling
72         comparison of the filter expressions.
73
74 2005-08-02  Sureshkumar T  <tsureshkumar@novell.com>
75
76         * Tokenizer.cs: ReadString (): added an overload where the
77         terminator can be escaped by repeating twice.
78
79 2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>
80
81         * ArithmeticExpressions.cs: Eval :if any one of the argument is
82         null for an operator, the result is also NULL.
83
84 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
85
86         * IExpression interface: Added DependsOn(DataColumn) method, which checks whether the Expression contains a specific column
87
88 2005-04-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89
90         * Tokenizer.cs: make it not rely in exceptions being thrown to know that
91         the array is entirely processed.
92
93 2005-02-10  Atsushi Enomoto  <atsushi@ximian.com>
94
95         * Comparison.cs : allow comparison between guid and string.
96         * ColumnReference.cs : return guid value too. Fixed bug #72426.
97
98 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
99
100         * Comparison.cs : Eval() could be direct invocation to EvalBoolean().
101
102 2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>
103
104         * Tokenizer.cs : just throw SyntaxErrorException instead of Exception.
105
106 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
107
108         * Expression.cs, ColumnReference.cs, BooleanExpression.cs,
109           Aggregation.cs, Literal.cs : added EvalBoolean() to avoid extraneous
110           boxing in RowFilter.
111
112 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
113
114         * Numeric.cs : Fixed ToSameType(). It should let conversion result to
115           reference values.
116
117 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
118
119         * Parser.jay : let's use debug flag when MONO_DEBUG_SQLEXPRESSIONS
120           environment variable is set.
121           Fixed substring() function. C# cast does not allow implicit
122           conversion from object.
123
124 2004-07-12 Umadevi S   <sumadevi@novell.com>
125         * Tokenizer.cs - read an Int64 from the text instead of Int32. Resolves
126 bug 61203
127
128                                                                                 
129 2004-06-17  Boris Kirzner <borisk@mainsoft.com>
130         *  Comparison.cs - use 'as' to avoid NullReferenceExeption in casting.
131
132 2004-05-13  Umadevi S <sumadevi@novell.com>
133         *  Literal.cs - made class internal
134
135 2004-05-12  Umadevi S <sumadevi@novell.com>
136         * Expression.cs, Functions.cs, In.cs, Like.cs, Parser.jay, StringFunctions.cs - made class/enum/interfaces internal
137
138 2004-05-12  Umadevi S <sumadevi@novell.com>
139         * BooleanExpression.cs,ColumnReference.cs, Comparision.cs - made class/enum internal
140
141 2004-05-12  Umadevi S <sumadevi@novell.com>
142         * ArthimeticExpression.cs - made class internal
143
144 2004-05012  Umadevi S <sumadevi@novell.com>
145         * Aggregation.cs - made class/enums/interfaces internal 
146
147 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
148
149         * ArithmeticExpressions.cs: avoid null exception on add operation.
150
151 2004-04-29  Juraj Skripsky <juraj@hotfeet.ch>
152
153         * Parser.jay: Fix rule for negative expressions.
154         Add precedence rules for '<' and '>'.
155
156 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
157
158         * ColumnReference.cs : using DataRow _inExpressionEvaluation before accessing row value
159           to get an access to deleted rows also.
160
161 2004-04-22  Juraj Skripsky <juraj@hotfeet.ch>
162
163         * Parser.jay: Allow computed expressions on left-hand side of
164         "like" operator.
165         Correct ordering for "is null" rule ("NOT IS NULL" => "IS NOT NULL"). 
166
167 2004-04-20  Juraj Skripsky <juraj@hotfeet.ch>
168
169         * Tokenizer.cs (ReadNumber): Correctly consume decimal point
170         when reading numbers. Fixes bug #57251.
171
172 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
173
174         * Parser.jay, ColumnReference.cs, Comparison.cs, Functions.cs,
175         Aggregation.cs : fix bugs exposed by DataColumnTest.cs.
176
177 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
178
179         * Initial implementation.