Changeset: 2ab229309137 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2ab229309137 Modified Files: pathfinder/compiler/algebra/opt/opt_complex.c Branch: default Log Message:
-- Fix bug that might lead to duplicate columns. diffs (13 lines): diff --git a/pathfinder/compiler/algebra/opt/opt_complex.c b/pathfinder/compiler/algebra/opt/opt_complex.c --- a/pathfinder/compiler/algebra/opt/opt_complex.c +++ b/pathfinder/compiler/algebra/opt/opt_complex.c @@ -1209,7 +1209,8 @@ /* action code */ switch (p->kind) { case la_serialize_seq: - if (PFprop_card (p->prop) == 1) { + if (PFprop_card (p->prop) == 1 && + p->sem.ser_seq.pos != p->sem.ser_seq.item) { R(p) = PFla_attach ( PFla_project ( R(p), _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list