On Fri, Jun 26, 2026 at 11:19 PM Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
wrote:
> + binary_jbv.type = jbvBinary;
> + binary_jbv.val.binary.data =
> &jb_result->root;
> + binary_jbv.val.binary.len =
> VARSIZE(jb_result);
>
> Shouldn't that use VARSIZE_ANY_EXHDR or VARSIZE(jb_result) - VARHDRSZ?
>
I think you're right; let's see if Corey comes back with anything else
before I send out a new version.