[PATCH 2/6] xrow: fix ret code on decode failure
Konstantin Osipov
kostja at tarantool.org
Wed Jun 27 20:29:53 MSK 2018
* Vladimir Davydov <vdavydov.dev at gmail.com> [18/06/13 20:40]:
> Throughout the code, we return -1 on error, but decode methods return 1
> for some reason, although according to comments they are supposed to
> return -1. This doesn't result in any errors, because we use != 0 to
> check for errors. Nevertheless, let's fix it to avoid confusion.
> ---
> src/box/xrow.c | 22 +++++++++++-----------
> 1 file changed, 11 insertions(+), 11 deletions(-)
Will push shortly.
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
More information about the Tarantool-patches
mailing list