Changeset: c68434ccd835 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c68434ccd835
Modified Files:
        sql/server/rel_select.c
Branch: linear-hashing
Log Message:

Missing exp_subtype call


diffs (12 lines):

diff --git a/sql/server/rel_select.c b/sql/server/rel_select.c
--- a/sql/server/rel_select.c
+++ b/sql/server/rel_select.c
@@ -4588,7 +4588,7 @@ rel_rankop(sql_query *query, sql_rel **r
                                        }
                                } else if(is_nth_value && nfargs == 1) { /* 
nth_value second argument null handling case */
                                        sql_subtype *empty = 
sql_bind_localtype("void");
-                                       if(subtype_cmp(&(in->tpe), empty) == 0) 
{
+                                       if(subtype_cmp(exp_subtype(in), empty) 
== 0) {
                                                sql_exp *ep = 
rel_first_column(sql, p);
                                                in = exp_convert(sql->sa, in, 
empty, exp_subtype(ep));
                                        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to