[Mono-dev] Patch for Mono.Data.SqlExpressions\Aggregation.cs

T Senganal tsenganal at novell.com
Tue Mar 21 07:02:19 EST 2006


Hi Boris,

> Attached is a proposed patch for
Mono.Data.SqlExpressions\ggregation.cs

I feel the patch can be simplified to : 

Index: Mono.Data.SqlExpressions/Aggregation.cs
===================================================================
--- Mono.Data.SqlExpressions/Aggregation.cs     (revision 58178)
+++ Mono.Data.SqlExpressions/Aggregation.cs     (working copy)
@@ -74,6 +74,9 @@

                        if (!other.column.Equals (column))
                                return false;
+
+                       if (other.rows == null || rows == null)
+                               return (other.rows == rows);

                        if (other.rows.Length != rows.Length)
                                return false;

Regards
Senga





More information about the Mono-devel-list mailing list