Changeset: 309bb2701763 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/309bb2701763
Modified Files:
        sql/backends/monet5/sql_cast.c
Branch: Jan2022
Log Message:

Jump to the right label


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_cast.c b/sql/backends/monet5/sql_cast.c
--- a/sql/backends/monet5/sql_cast.c
+++ b/sql/backends/monet5/sql_cast.c
@@ -200,7 +200,7 @@ SQLstr_cast(Client cntxt, MalBlkPtr mb, 
 #define SQLstr_cast_str(v, digits) \
        if (digits > 0 && UTF8_strlen(v) > digits) { \
                msg = createException(SQL, "batcalc.str_cast", SQLSTATE(22001) 
"value too long for type (var)char(%d)", digits); \
-               goto bailout; \
+               goto bailout1; \
        }
 
 /* str SQLbatstr_cast(int *res, int *eclass, int *d1, int *s1, int *has_tz, 
int *bid, int *digits); */
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to