index: simplify iterator creation API
We don't need index_position() optimization any more as all iterators are allocated from memory pools. Remove it and merge iterator allocation and initialization procedures. Needed for #2776
Showing
- src/box/alter.cc 2 additions, 3 deletionssrc/box/alter.cc
- src/box/box.cc 3 additions, 2 deletionssrc/box/box.cc
- src/box/index.cc 15 additions, 18 deletionssrc/box/index.cc
- src/box/index.h 11 additions, 54 deletionssrc/box/index.h
- src/box/memtx_bitset.c 21 additions, 29 deletionssrc/box/memtx_bitset.c
- src/box/memtx_hash.c 10 additions, 19 deletionssrc/box/memtx_hash.c
- src/box/memtx_index.c 14 additions, 10 deletionssrc/box/memtx_index.c
- src/box/memtx_rtree.c 20 additions, 28 deletionssrc/box/memtx_rtree.c
- src/box/memtx_space.c 7 additions, 17 deletionssrc/box/memtx_space.c
- src/box/memtx_tree.c 16 additions, 32 deletionssrc/box/memtx_tree.c
- src/box/schema.cc 6 additions, 10 deletionssrc/box/schema.cc
- src/box/space.c 2 additions, 5 deletionssrc/box/space.c
- src/box/sysview_index.c 25 additions, 42 deletionssrc/box/sysview_index.c
- src/box/user.cc 3 additions, 2 deletionssrc/box/user.cc
- src/box/vinyl_index.c 27 additions, 43 deletionssrc/box/vinyl_index.c
Loading
Please register or sign in to comment