Update of /cvsroot/monetdb/MonetDB5/src/modules/kernel
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19002/src/modules/kernel

Modified Files:
        batmtime.mx 
Log Message:
removed bogus BUNsize == sizeof(atom) checks


Index: batmtime.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/batmtime.mx,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- batmtime.mx 3 Jan 2007 12:20:21 -0000       1.14
+++ batmtime.mx 27 May 2007 13:17:50 -0000      1.15
@@ -119,12 +119,6 @@
        prepareOperand2(left,l,right,r,"[EMAIL PROTECTED]");
        @:chkSize(left,right,[EMAIL PROTECTED])@
        prepareResult2(bn,left,right,TYPE_bit,"[EMAIL PROTECTED]");
-       if( BUNsize(left) != sizeof(@1) || BUNsize(right)!= sizeof(@1) ){
-               BBPreleaseref(right->batCacheid);
-               BBPreleaseref(left->batCacheid);
-               BBPreleaseref(bn->batCacheid);
-               throw(MAL, "[EMAIL PROTECTED]","Unexpected input type");
-       }
 
        o = BUNtail(left,BUNfirst(left));
        p = BUNtail(right,BUNfirst(right));
@@ -153,8 +147,6 @@
 
        prepareOperand(left,l,"[EMAIL PROTECTED]");
        prepareResult(bn,left,TYPE_bit,"[EMAIL PROTECTED]");
-       if( BUNsize(left) != sizeof(@1))
-               throw(MAL, "[EMAIL PROTECTED]","Unexpected input type");
 
        p = BUNtail(left,BUNfirst(left));
        q = BUNtail(left,BUNlast(left));


-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to