Changeset: a03a25c1c940 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a03a25c1c940
Modified Files:
        sql/server/rel_psm.c
Branch: Feb2013
Log Message:

fix dropping Filter functions


diffs (12 lines):

diff --git a/sql/server/rel_psm.c b/sql/server/rel_psm.c
--- a/sql/server/rel_psm.c
+++ b/sql/server/rel_psm.c
@@ -893,7 +893,7 @@ rel_drop_func(mvc *sql, dlist *qname, dl
                } else {
                        return sql_error(sql, 02, "DROP %s%s: no such %s%s 
'%s'", KF, F, kf, f, name);
                }
-       } else if ((is_func && !func->res.type) || 
+       } else if (((is_func && type != F_FILT) && !func->res.type) || 
                   (!is_func && func->res.type)) {
                if (list_func)
                        list_destroy(list_func);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to