Changeset: 48f6585185e7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/48f6585185e7
Modified Files:
        gdk/gdk_atoms.c
Branch: Dec2025
Log Message:

Inet6 nil can actually occur

For example in TRACE


diffs (16 lines):

diff --git a/gdk/gdk_atoms.c b/gdk/gdk_atoms.c
--- a/gdk/gdk_atoms.c
+++ b/gdk/gdk_atoms.c
@@ -1789,7 +1789,11 @@ INET6toString(allocator *ma, str *retval
        }
 
        /* nils should never reach us here */
-       assert(best_len < 16);
+       if (best_len == 16) {
+               assert(external);
+               strcpy(*retval, "nil");
+               return 3;
+       }
        if (best_len <= 2) {
                best_len = 0;
                best_start = 16;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to