sql: introduce mem_str()
This patch introduces mem_str() which allows to receive value of MEM as a string. Due to the limitations of static_alloc(), this function cannot be used to safely retrieve a value of MEM converted to string. This function is suitable for debugging, displaying the value in an error message, etc. Part of #5818
Showing
- src/box/sql/func.c 4 additions, 4 deletionssrc/box/sql/func.c
- src/box/sql/mem.c 34 additions, 12 deletionssrc/box/sql/mem.c
- src/box/sql/mem.h 7 additions, 9 deletionssrc/box/sql/mem.h
- src/box/sql/vdbe.c 14 additions, 14 deletionssrc/box/sql/vdbe.c
- src/box/sql/vdbeaux.c 2 additions, 15 deletionssrc/box/sql/vdbeaux.c
- src/box/sql/vdbetrace.c 2 additions, 29 deletionssrc/box/sql/vdbetrace.c
Loading
Please register or sign in to comment