Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2794
Modified Files:
pftijah.mx
Log Message:
- implement 2 checks for new computation funcs
Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- pftijah.mx 1 Jun 2007 09:36:37 -0000 1.132
+++ pftijah.mx 1 Jun 2007 13:05:38 -0000 1.133
@@ -3258,8 +3258,14 @@
*
*/
static int bat_oid_sort_chck(BAT* b) {
- (void)b;
- /* INCOMPLETE, ASSERTS HERE */
+ if ( !b->hsorted ) {
+ GDKerror("bat_oid_sort_chck: BAT should be head sorted.\n");
+ return 0;
+ }
+ if (BAThtype(b) != TYPE_oid ) {
+ GDKerror("bat_oid_sort_chck: BAT shouled have oid head type.\n");
+ return 0;
+ }
return 1;
}
-------------------------------------------------------------------------
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