Changeset: fa5e818ed83d for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/fa5e818ed83d
Modified Files:
        sql/backends/monet5/dict.c
Branch: dict
Log Message:

Copy-paste error (presumably).


diffs (14 lines):

diff --git a/sql/backends/monet5/dict.c b/sql/backends/monet5/dict.c
--- a/sql/backends/monet5/dict.c
+++ b/sql/backends/monet5/dict.c
@@ -60,8 +60,8 @@ static void
 BATmaxminpos_sht(BAT *o, sht m)
 {
        BUN minpos = BUN_NONE, maxpos = BUN_NONE, p, q;
-       sht minval = m<0?-128:0;
-       sht maxval = m<0?127:m;
+       sht minval = m<0?-32768:0;
+       sht maxval = m<0?32767:m;
 
        assert(o->ttype == TYPE_sht);
        o->tnil = m<0?true:false;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to