Changeset: 8a0861e1aaee for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8a0861e1aaee
Modified Files:
        sql/include/sql_catalog.h
Branch: default
Log Message:

Don't upcast on SQL MAL functions. The upcasted version may not exist


diffs (12 lines):

diff --git a/sql/include/sql_catalog.h b/sql/include/sql_catalog.h
--- a/sql/include/sql_catalog.h
+++ b/sql/include/sql_catalog.h
@@ -475,7 +475,7 @@ typedef enum sql_flang {
 } sql_flang;
 
 #define LANG_EXT(l)  ((l)>FUNC_LANG_SQL)
-#define UDF_LANG(l)  ((l)>=FUNC_LANG_SQL)
+#define UDF_LANG(l)  ((l)!=FUNC_LANG_INT)
 
 typedef struct sql_func {
        sql_base base;
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to