From: Dmitry Volyntsev Date: Fri, 22 May 2026 03:44:57 +0000 (-0700) Subject: Fixed atom string fallback handling X-Git-Tag: 1.0.0~49 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=472cd05ca501f000c1bc94d2ff9b5e9ad174c92d;p=njs.git Fixed atom string fallback handling --- diff --git a/src/njs_object.h b/src/njs_object.h index 641a1028..814964aa 100644 --- a/src/njs_object.h +++ b/src/njs_object.h @@ -244,6 +244,7 @@ njs_atom_string_get(njs_vm_t *vm, uint32_t atom_id, njs_str_t *str) if (njs_atom_to_value(vm, &value, atom_id) != NJS_OK) { str->start = (u_char *) "unknown"; str->length = njs_length("unknown"); + return; } njs_key_string_get(vm, &value, str);