Re: [Monetdb-developers] [Monetdb-pf-checkins] pathfinder/modules/pftijah pftijah.mx, 1.75, 1.76
On 2007-01-05 11:12, Jan Flokstra wrote:
Update of /cvsroot/monetdb/pathfinder/modules/pftijah In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv7377/modules/pftijah
Modified Files: pftijah.mx Log Message: + satisfy a picky compiler
Index: pftijah.mx =================================================================== RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v retrieving revision 1.75 retrieving revision 1.76 diff -u -d -r1.75 -r1.76 --- pftijah.mx 5 Jan 2007 09:16:38 -0000 1.75 +++ pftijah.mx 5 Jan 2007 10:12:23 -0000 1.76 @@ -2510,7 +2510,9 @@ ALGODEBUG THRprintf(GDKout, "#init_result(dbl): BAThordered(e)&1, \n"); bn->batBuns->free = _p - bn->batBuns->base; BATsetcount(bn, bn->batBuns->free/_bunsize); - BATprepareHash(bn); + if ( !BATprepareHash(bn) ) { + /* do nothing yet */; + } if (!bn->batDirty) bn->batDirty = TRUE; }
The "normal" way of doing this is to use (void) BATprepareHash(bn); Does that not work? -- Sjoerd Mullender
participants (1)
-
Sjoerd Mullender