[tarantool-patches] Re: [PATCH v1 4/4] box: refactor tuple_init_field_map to use bitmap

Vladimir Davydov vdavydov.dev at gmail.com
Sat Dec 29 16:22:14 MSK 2018


On Sat, Dec 29, 2018 at 03:58:34PM +0300, Kirill Shcherbatov wrote:
> > field_count can't be 0 - otherwise we would bail out early.
> It is not so, try paste assert here and run 
> 
> s = box.schema.space.create('test', {engine = engine})
> pk = s:create_index('pk')
> sk = s:create_index('sk', {parts = {{2, 'unsigned', is_nullable = true}}})
> s:replace{} -- Fail

OK, I confused tuple field count with format field count.



More information about the Tarantool-patches mailing list