sql: introduce sql_space_by_src()
This patch introduces the sql_space_by_src() function. This function is used to search for a space based on a given element of the struct SrcList. The main purpose of this function is to introduce a second lookup for spaces, so this function is not used where a second lookup is not required. Needed for #4467 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Showing
- src/box/sql.c 6 additions, 0 deletionssrc/box/sql.c
- src/box/sql/alter.c 2 additions, 3 deletionssrc/box/sql/alter.c
- src/box/sql/build.c 45 additions, 33 deletionssrc/box/sql/build.c
- src/box/sql/delete.c 6 additions, 6 deletionssrc/box/sql/delete.c
- src/box/sql/insert.c 1 addition, 1 deletionsrc/box/sql/insert.c
- src/box/sql/sqlInt.h 9 additions, 2 deletionssrc/box/sql/sqlInt.h
Loading
Please register or sign in to comment