[tarantool-patches] Re: [PATCH 4/5] box/lua/console: Provide output_default function to setup default output

Konstantin Osipov kostja at tarantool.org
Wed Jul 24 20:11:41 MSK 2019


* Konstantin Osipov <kostja at tarantool.org> [19/07/24 20:10]:
> * Cyrill Gorcunov <gorcunov at gmail.com> [19/07/24 01:35]:
> > A user might need to use lua output as default serializer so instead
> > of requiring him setting up the output every new session that named
> > default output mode may be used instead with help of command
> > 
> >  > require('console').set_default_output("lua")
> > 
> > Also we provide
> > 
> >  > require('console').get_default_output("lua")
> > 
> > to obtain current setting.
> > 
> > Part-of #3834
> 
> there is a bug in this patch - it changes the output of an already
> existing console. It should not happen, only new consoles should
> be affected.
> 
> Please submit a fix.

The fix is to table.deepcopy() d from default.


-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list