Changeset: 4f92c774b5ec for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4f92c774b5ec
Modified Files:
        monetdb5/modules/kernel/batstr.c
Branch: Dec2025
Log Message:

Fix exception message.


diffs (21 lines):

diff --git a/monetdb5/modules/kernel/batstr.c b/monetdb5/modules/kernel/batstr.c
--- a/monetdb5/modules/kernel/batstr.c
+++ b/monetdb5/modules/kernel/batstr.c
@@ -118,7 +118,7 @@ do_batstr_int(Client cntxt, MalBlkPtr mb
                        } else {
                                vals[i] = func(x);
                                if (vals[i] < 0) {
-                                       msg = createException(MAL, "str.bytes", 
SQLSTATE(22003) "string too long to count bytes");
+                                       msg = createException(MAL, name, 
SQLSTATE(22003) "string too long to count bytes");
                                        goto bailout;
                                }
                        }
@@ -134,7 +134,7 @@ do_batstr_int(Client cntxt, MalBlkPtr mb
                        } else {
                                vals[i] = func(x);
                                if (vals[i] < 0) {
-                                       msg = createException(MAL, "str.bytes", 
SQLSTATE(22003) "string too long to count bytes");
+                                       msg = createException(MAL, name, 
SQLSTATE(22003) "string too long to count bytes");
                                        goto bailout;
                                }
                        }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to