From: Dmitry Volyntsev Date: Tue, 17 Dec 2019 15:22:50 +0000 (+0300) Subject: Shell: fixed output of large values for last evaluated expression. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=de73bc7413cb8bd497710f818083d852c88060a1;p=njs.git Shell: fixed output of large values for last evaluated expression. --- diff --git a/src/njs_shell.c b/src/njs_shell.c index f509ce3d..b68e058c 100644 --- a/src/njs_shell.c +++ b/src/njs_shell.c @@ -750,7 +750,8 @@ njs_output(njs_opts_t *opts, njs_vm_t *vm, njs_int_t ret) } if (vm->options.accumulative) { - njs_printf("%V\n", &out); + njs_print(out.start, out.length); + njs_print("\n", 1); } } else {