<HTML><BODY>Maria, thanks for your patch!<br><br>But as I see you don't consider the case of box.NULL that has 'cdata' type, but doesn't have<br>__serialize metamethod.<br><br>It will lead to an error:<br>```<br><p class="p1"><span class="s1">- error: '[string "return x:__serialize()"]:1: ''void *'' has no member named ''__serialize'''</span></p><p class="p1"><span class="s1">...<br></span>```</p><blockquote style="border-left-color: #0857a6;" data-mce-style="border-left-color: #0857a6;">Четверг, 7 ноября 2019, 16:47 +03:00 от Maria <maria.khaydich@tarantool.org>:<br><div id=""><div class="js-helper js-readmsg-msg"><div id="style_15731344421670538392_BODY"><br>+ if type(res) == 'cdata' then<br>+ results[n] = res:__serialize()<br>+ end</div></div></div></blockquote><br><br>-- <br>Oleg Babin<br><style type="text/css"></style></BODY></HTML>