Move Handler->engine to struct space
space->handler->engine->... looks ugly. Since all Handler methods receive space as an argument anyway, let's move engine to struct space. This is a step towards converting class Handler to struct space_vtab. Needed for #2776
Showing
- src/box/engine.cc 12 additions, 17 deletionssrc/box/engine.cc
- src/box/engine.h 1 addition, 9 deletionssrc/box/engine.h
- src/box/memtx_engine.cc 4 additions, 4 deletionssrc/box/memtx_engine.cc
- src/box/memtx_space.cc 3 additions, 4 deletionssrc/box/memtx_space.cc
- src/box/memtx_space.h 1 addition, 1 deletionsrc/box/memtx_space.h
- src/box/space.cc 1 addition, 0 deletionssrc/box/space.cc
- src/box/space.h 6 additions, 3 deletionssrc/box/space.h
- src/box/sysview_engine.cc 1 addition, 5 deletionssrc/box/sysview_engine.cc
- src/box/txn.cc 1 addition, 1 deletionsrc/box/txn.cc
- src/box/txn.h 1 addition, 1 deletionsrc/box/txn.h
- src/box/vinyl_engine.cc 1 addition, 1 deletionsrc/box/vinyl_engine.cc
- src/box/vinyl_space.cc 12 additions, 13 deletionssrc/box/vinyl_space.cc
- src/box/vinyl_space.h 1 addition, 1 deletionsrc/box/vinyl_space.h
Loading
Please register or sign in to comment