Re: [Monetdb-developers] [Monetdb-checkins] MonetDB5/src/mal mal_debugger.mx, , 1.232, 1.233 mal_recycle.mx, , 1.134, 1.135
On 2008-08-08 18:30, Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB5/src/mal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22332/src/mal
Modified Files: mal_debugger.mx mal_recycle.mx Log Message:
acknowledge the type that functions return (for good reasons); for BATcount(), it is size_t .
@@ -789,8 +789,8 @@
static void printBATproperties(stream *f, BAT *b){ - stream_printf(f, " count=%d lrefs=%d ", - (int) BATcount(b), BBP_lrefs(ABS(b->batCacheid))); + stream_printf(f, " count=%d lrefs=" SZFMT " ", + BATcount(b), BBP_lrefs(ABS(b->batCacheid))); if( BBP_refs(ABS(b->batCacheid)) - 1) stream_printf(f, " refs=%d ", BBP_refs(ABS(b->batCacheid)) - 1); if( b->batSharecnt)
I think you got this backwards: it should be count=SZFMT , lrefs=%d. -- Sjoerd Mullender
participants (1)
-
Sjoerd Mullender