Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv16294/runtime

Modified Files:
        prec_foll.mx 
Log Message:

extra sanity check in non-loop-lifted preceding & following step:
ensure that doc_pre BAT is ordered on tail (pre)


Declaration/disclaimer:
-----------------------
On my FC6 desktop (64-bit, 64-bit OIDs, configured with --enable-optimize,
compiled with gcc 4.1.1), this check-in does not make any pathfinder test
fail that did not also fail with the most recent code base in CVS prior to
this check-in.
I did not check in detail, though, whether all previously failing tests
still fail the same way after this check-in as they did before this
check-in.


Index: prec_foll.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/prec_foll.mx,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- prec_foll.mx        13 May 2007 11:42:34 -0000      1.15
+++ prec_foll.mx        14 May 2007 09:44:24 -0000      1.16
@@ -85,6 +85,11 @@
         GDKerror("%s: context must be ordered on head.\n", name);
         return GDK_FAIL;
     }
+    if (!(BATtordered(doc_pre) & 1))
+    {
+        GDKerror("%s: doc_pre must be ordered on tail.\n", name);
+        return GDK_FAIL;
+    }
     if (BATcount(ctx) == 0 || BATcount(pre_size) == 0)
     {
         *result = BATnew(TYPE_oid, TYPE_void, 0);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to