Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23578/algebra/prop

Modified Files:
        prop_dom_nat.c 
Log Message:
-- Allow polymorphic types in the sort criteria of rank operators.
   (This should fix bug 1760475.)


Index: prop_dom_nat.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_dom_nat.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- prop_dom_nat.c      6 Jul 2007 13:29:57 -0000       1.4
+++ prop_dom_nat.c      26 Jul 2007 11:57:27 -0000      1.5
@@ -523,7 +523,9 @@
                     for (j = 0; j < R(n)->schema.count; j++)
                         if (L(n)->schema.items[i].name ==
                             R(n)->schema.items[j].name) {
-                            assert (R(n)->schema.items[j].type == aat_nat);
+                            if (R(n)->schema.items[j].type != aat_nat)
+                                break;
+
                             dom1 = PFprop_dom (L(n)->prop,
                                                L(n)->schema.items[i].name);
                             dom2 = PFprop_dom (R(n)->prop,


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to