sql: do not print binary data in diag_set()
Print the data type instead of the data itself in diag_set() in the case of binary data. The reason of this patch is that LibYAML converts whole error message to base64 in the case of non-printable symbols. Part of #4356
Showing
- src/box/sql/func.c 4 additions, 4 deletionssrc/box/sql/func.c
- src/box/sql/sqlInt.h 10 additions, 0 deletionssrc/box/sql/sqlInt.h
- src/box/sql/vdbe.c 14 additions, 14 deletionssrc/box/sql/vdbe.c
- src/box/sql/vdbemem.c 11 additions, 0 deletionssrc/box/sql/vdbemem.c
- test/sql-tap/cast.test.lua 2 additions, 2 deletionstest/sql-tap/cast.test.lua
- test/sql-tap/func.test.lua 44 additions, 1 deletiontest/sql-tap/func.test.lua
- test/sql-tap/sql-errors.test.lua 94 additions, 1 deletiontest/sql-tap/sql-errors.test.lua
- test/sql-tap/tkt-80e031a00f.test.lua 2 additions, 2 deletionstest/sql-tap/tkt-80e031a00f.test.lua
- test/sql/types.result 4 additions, 4 deletionstest/sql/types.result
Loading
Please register or sign in to comment