[Tarantool-patches] [PATCH] json: fix assert typo in json_path_cmp()

Nikita Pettik korablev at tarantool.org
Tue Nov 12 15:43:25 MSK 2019


On 12 Nov 13:05, Kirill Yukhin wrote:
> Hello,
> 
> On 11 ноя 18:06, Nikita Pettik wrote:
> >    284  int
> >    285  json_path_cmp(const char *a, int a_len, const char *b, int b_len,
> >    286                int index_base)
> >    287  {
> > 
> >   ...
> > 
> >    304          /* Paths a and b must be valid. */
> >    305          assert(rc_b == 0 && rc_b == 0);
> > 
> > Obviously (according to the comment) author implied that both rc_a == 0
> > and rc_b == 0. Let's fix this small typo.
> 
> Just check it in as obvious.

Ok, pushed to master.
 
> --
> Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list