sql: introduce mem_len()
This patch introduces mem_len(). This function is used to receive length of string or binary value of MEM. If MEM is not of STRING or VARBINARy type this function returns -1. Part of #5818
Showing
- src/box/sql/func.c 26 additions, 25 deletionssrc/box/sql/func.c
- src/box/sql/mem.c 12 additions, 82 deletionssrc/box/sql/mem.c
- src/box/sql/mem.h 21 additions, 12 deletionssrc/box/sql/mem.h
- src/box/sql/sqlInt.h 0 additions, 3 deletionssrc/box/sql/sqlInt.h
- src/box/sql/vdbeapi.c 0 additions, 35 deletionssrc/box/sql/vdbeapi.c
Loading
Please register or sign in to comment