Changeset: 622dce149422 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/622dce149422
Modified Files:
sql/storage/bat/bat_storage.c
Branch: use_min_max_prop
Log Message:
even remove old Prop on RANGE MAXVALUE
diffs (12 lines):
diff --git a/sql/storage/bat/bat_storage.c b/sql/storage/bat/bat_storage.c
--- a/sql/storage/bat/bat_storage.c
+++ b/sql/storage/bat/bat_storage.c
@@ -2261,6 +2261,8 @@ col_set_range(sql_trans *tr, sql_column
BATsetprop_nolock(b, GDK_MIN_BOUND, b->ttype,
pt->part.range.minvalue);
if (ATOMcmp(b->ttype, pt->part.range.maxvalue,
ATOMnilptr(b->ttype)) != 0)
BATsetprop_nolock(b, GDK_MAX_BOUND,
b->ttype, pt->part.range.maxvalue);
+ else
+ BATrmprop_nolock(b, GDK_MAX_BOUND);
if (!pt->with_nills || !col->null)
BATsetprop_nolock(b, GDK_NOT_NULL,
b->ttype, ATOMnilptr(b->ttype));
} else {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]