sql: replace pgnoRoot with struct space in BtCursor
Instead of passing encoded space id and index id to SQL bindings, pointers to space and index are saved in cursor and passed implicitly. Space and index lookups appear during execution of OP_OpenRead/OP_OpenWrite once. Moreover, having struct space it has become possible to remove several wrapper-function calls on insertions and deletions by invoking box_process_rw(). Closes #3122
Showing
- src/box/sql.c 36 additions, 43 deletionssrc/box/sql.c
- src/box/sql/cursor.h 1 addition, 2 deletionssrc/box/sql/cursor.h
- src/box/sql/tarantoolInt.h 1 addition, 1 deletionsrc/box/sql/tarantoolInt.h
- src/box/sql/vdbe.c 13 additions, 12 deletionssrc/box/sql/vdbe.c
- src/box/sql/vdbeInt.h 0 additions, 1 deletionsrc/box/sql/vdbeInt.h
Loading
Please register or sign in to comment