Changeset: 75089da7811f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=75089da7811f
Modified Files:
        sql/backends/monet5/rel_weld.c
Branch: rel-weld
Log Message:

fixed min/max typo


diffs (15 lines):

diff --git a/sql/backends/monet5/rel_weld.c b/sql/backends/monet5/rel_weld.c
--- a/sql/backends/monet5/rel_weld.c
+++ b/sql/backends/monet5/rel_weld.c
@@ -194,9 +194,9 @@ get_identity(sql_allocator *sa, str weld
                }
                len += sprintf(identity + len, "%s", getWeldTypeSuffix(type));
        } else if (strcmp(weld_func, "min") == 0) {
-               len += sprintf(identity, "MAX%s", weld_type);
+               len += sprintf(identity, "%sMAX", weld_type);
        } else if (strcmp(weld_func, "max") == 0) {
-               len += sprintf(identity + len, "MIN%s", weld_type);
+               len += sprintf(identity + len, "%sMIN", weld_type);
        } else {
                return NULL;
        }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to