Changeset: ed5f4d62a9bb for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ed5f4d62a9bb
Modified Files:
        gdk/gdk_histogram.c
Branch: histograms
Log Message:

More debug information


diffs (12 lines):

diff --git a/gdk/gdk_histogram.c b/gdk/gdk_histogram.c
--- a/gdk/gdk_histogram.c
+++ b/gdk/gdk_histogram.c
@@ -419,7 +419,7 @@ HISTOGRAMprint(BAT *b)
        if (!(res = GDKmalloc(maxlen)))
                return NULL;
 
-       len = sprintf(res, "Total entries: %d\n", b->thistogram->size);
+       len = sprintf(res, "Total entries: %d, sample size: %d, buckets: %d\n", 
b->thistogram->size, b->thistogram->size, b->thistogram->nbuckets);
        len += sprintf(res + len, "nulls -> %d\n", b->thistogram->nulls);
 
        tpe = ATOMbasetype(b->ttype);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to