Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: imeevma@tarantool.org
Cc: tarantool-patches@freelists.org
Subject: Re: [tarantool-patches] [PATCH v3 2/7] box: add method dump_lua to port
Date: Thu, 29 Nov 2018 13:48:30 +0300	[thread overview]
Message-ID: <20181129104830.idyjtlmpq2uvojrl@esperanza> (raw)
In-Reply-To: <ff2fc3fd58dd99d3a98ad790c8e82363949cb3db.1543344471.git.imeevma@gmail.com>

On Wed, Nov 28, 2018 at 04:33:49PM +0300, imeevma@tarantool.org wrote:
> New version:
> 
> commit ff2fc3fd58dd99d3a98ad790c8e82363949cb3db
> Author: Mergen Imeev <imeevma@gmail.com>
> Date:   Sat Nov 17 15:37:17 2018 +0300
> 
>     box: add method dump_lua to port
>    
>     New method dump_lua dumps saved in port tuples to Lua stack. It
>     will allow us to call this method without any other interaction
>     with port.
>    
>     Needed for #3505
> 
> diff --git a/src/box/lua/call.c b/src/box/lua/call.c
> index 1f20426..52939ae 100644
> --- a/src/box/lua/call.c
> +++ b/src/box/lua/call.c
> @@ -424,6 +424,7 @@ port_lua_dump_plain(struct port *port, uint32_t *size);
>  static const struct port_vtab port_lua_vtab = {
>      .dump_msgpack = port_lua_dump,
>      .dump_msgpack_16 = port_lua_dump_16,
> +    .dump_lua = NULL,

This should allow us to implement box.call, eventually, which is nice.
Pushed to 2.1.

BTW, please fix your editor you use for editing emails - it seems to
convert tabs to spaces.

  reply	other threads:[~2018-11-29 10:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27 19:25 [tarantool-patches] [PATCH v3 0/7] Remove box.sql.execute imeevma
2018-11-27 19:25 ` [tarantool-patches] [PATCH v3 1/7] box: store sql text and length in sql_request imeevma
2018-11-29 10:45   ` Vladimir Davydov
2018-11-27 19:25 ` [tarantool-patches] [PATCH v3 3/7] iproto: remove iproto functions from execute.c imeevma
2018-11-29 10:51   ` Vladimir Davydov
2018-11-27 19:25 ` [tarantool-patches] [PATCH v3 4/7] iproto: replace obuf by mpstream in execute.c imeevma
2018-11-28 13:10   ` Vladislav Shpilevoy
2018-11-29 10:53   ` Vladimir Davydov
2018-11-29 14:04     ` [tarantool-patches] " Vladislav Shpilevoy
2018-11-30 10:19       ` Vladimir Davydov
2018-11-30 10:45         ` Vladislav Shpilevoy
2018-11-30 10:55           ` Vladimir Davydov
2018-11-27 19:25 ` [tarantool-patches] [PATCH v3 7/7] sql: check new box.sql.execute() imeevma
2018-11-28 13:33 ` [tarantool-patches] [PATCH v3 2/7] box: add method dump_lua to port imeevma
2018-11-29 10:48   ` Vladimir Davydov [this message]
2018-11-28 13:45 ` [tarantool-patches] [PATCH v3 5/7] sql: create interface vstream imeevma
2018-11-28 18:25   ` [tarantool-patches] " Vladislav Shpilevoy
2018-11-28 13:50 ` [tarantool-patches] [PATCH v3 6/7] lua: create vstream implementation for Lua imeevma
2018-11-28 18:25   ` [tarantool-patches] " Vladislav Shpilevoy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181129104830.idyjtlmpq2uvojrl@esperanza \
    --to=vdavydov.dev@gmail.com \
    --cc=imeevma@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH v3 2/7] box: add method dump_lua to port' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox