Jan, property checking is quite expensive, hence, you might want to do it for debugging purposes, only, e.g, when property checking is enabled in Mserver via --debug=8 / --debug=10.
To do so, just replace "if ( 1 )" by "PROPDEBUG" (which is defined as "if (GDKdebug & PROPMASK)" in MonetDB/src/gdk/gdk.mx) Stefan On Thu, Jun 07, 2007 at 12:50:55PM +0000, Jan Flokstra wrote: > Update of /cvsroot/monetdb/pathfinder/modules/pftijah > In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12149 > > Modified Files: > Tag: XQuery_0-18 > serialize_pftijah.mx > Log Message: > - add a propcheck to our "C" generated ft-index BATs to see if they are > correct > > > > Index: serialize_pftijah.mx > =================================================================== > RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/serialize_pftijah.mx,v > retrieving revision 1.49 > retrieving revision 1.49.2.1 > diff -u -d -r1.49 -r1.49.2.1 > --- serialize_pftijah.mx 1 Jun 2007 15:35:00 -0000 1.49 > +++ serialize_pftijah.mx 7 Jun 2007 12:50:49 -0000 1.49.2.1 > @@ -689,6 +689,16 @@ > BBPunfix(BBPcacheid(tjctx->b_collPre)); > BBPunfix(BBPcacheid(tjctx->b_collSize)); > BBPunfix(BBPcacheid(tjctx->b_collPfPre)); > + if ( 1 ) { > + BATpropcheck(tjctx->b_globalTerm,BATPROPS_ALL); > + BATpropcheck(tjctx->b_globalTag,BATPROPS_ALL); > + BATpropcheck(tjctx->b_docName,BATPROPS_ALL); > + BATpropcheck(tjctx->b_docFirstPre,BATPROPS_ALL); > + BATpropcheck(tjctx->b_collParam,BATPROPS_ALL); > + BATpropcheck(tjctx->b_collPre,BATPROPS_ALL); > + BATpropcheck(tjctx->b_collSize,BATPROPS_ALL); > + BATpropcheck(tjctx->b_collPfPre,BATPROPS_ALL); > + } > if ( tjctx->stemCtx->clear && !tjctx->stemCtx->clear(tjctx->stemCtx) ) > return GDK_FAIL; > free(tjctx); > > > ------------------------------------------------------------------------- > 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 > > -- | Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 | ------------------------------------------------------------------------- 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-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers