[PATCH 04/12] alter: use space_index instead of index_find where appropriate

Konstantin Osipov kostja at tarantool.org
Mon Apr 9 23:34:03 MSK 2018


* Vladimir Davydov <vdavydov.dev at gmail.com> [18/04/09 10:33]:
> Using index_find_xc() in AlterSpaceOp::commit and rollback is
> confusing, because these functions may not throw. Let's use
> space_index instead as we are sure that the index we are looking
> for must exist. While we are at it, add some missing assertions.

OK to push.


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