[tarantool-patches] Re: [PATCH 4/6] vinyl: run iterator: zap search_ended flag

Konstantin Osipov kostja at tarantool.org
Thu Mar 28 17:35:18 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/03/26 18:56]:
> It's equivalent to (itr->search_started && itr->curr_stmt == NULL).

OK to push, but same as in the previous patch, I would not use the
return value for anything but success/error. We already have a
boolean parameter 'equal found', we could turn it into a enum,
since 'equal found' and 'eof' are mutually exclusive.


-- 
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