<HTML><BODY><div>
<div>Thank you for the comment!</div>

<div>I’ve checked the behavior and previous version does not indeed cover the case with box.NULL. Suitable fix and tests were added. <br>
 </div>

<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">Четверг, 7 ноября 2019, 17:08 +03:00 от Бабин Олег <olegrok@tarantool.org>:<br>
 
<div id="">
<div class="js-helper js-readmsg-msg">
<style type="text/css">
</style>
<div>
<div id="style_15731357101153771543_BODY">
<div class="class_1573154769">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>
```
<p class="p1_mailru_css_attribute_postfix"><span class="s1_mailru_css_attribute_postfix">- error: '[string "return x:__serialize()"]:1: ''void *'' has no member named ''__serialize'''</span></p>

<p class="p1_mailru_css_attribute_postfix"><span class="s1_mailru_css_attribute_postfix">...</span><br>
```</p>

<div class="mail-quote-collapse">
<blockquote data-mce-style="border-left-color: #0857a6;" style="border-left-color: #0857a6;"><span data-email="maria.khaydich@tarantool.org" data-name="Maria" data-quote-id="1689142405815888918" data-timestamp="1573134420" data-type="sender">Четверг, 7 ноября 2019, 16:47 +03:00 от Maria <<a href="/compose?To=maria.khaydich@tarantool.org">maria.khaydich@tarantool.org</a>>:</span>

<div data-quote-id="1689142405815888918" data-type="body">
<div id="">
<div class="js-helper_mailru_css_attribute_postfix js-readmsg-msg_mailru_css_attribute_postfix">
<div id="style_15731344421670538392_BODY_mailru_css_attribute_postfix"><br>
+ if type(res) == 'cdata' then<br>
+ results[n] = res:__serialize()<br>
+ end</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br>
-- <br>
Oleg Babin<br>
<style type="text/css">
</style>
</div>
</div>
</div>
</div>
</div>
</blockquote>
 

<div> </div>

<div data-signature-widget="container">
<div data-signature-widget="content">
<div>--<br>
Maria Khaydich</div>
</div>
</div>

<div> </div>
</div>
</BODY></HTML>