Extract request creation procedure from box_process
* Parse request type inside of request_create * Remove palloc from request_create * Replace request_execute with a fun pointer in struct request * Refactor box_process API to accept struct request * * Create requests directly in iproto.cc and box_lua.cc * Update memcached, recovery and other parts to use new API
Showing
- include/box/box.h 1 addition, 1 deletioninclude/box/box.h
- src/box/box.cc 15 additions, 17 deletionssrc/box/box.cc
- src/box/box_lua.cc 5 additions, 2 deletionssrc/box/box_lua.cc
- src/box/box_lua.h 2 additions, 2 deletionssrc/box/box_lua.h
- src/box/request.cc 17 additions, 20 deletionssrc/box/request.cc
- src/box/request.h 6 additions, 3 deletionssrc/box/request.h
- src/iproto.cc 3 additions, 2 deletionssrc/iproto.cc
- src/memcached.cc 6 additions, 3 deletionssrc/memcached.cc
Loading
Please register or sign in to comment