box: fix format of tuple produced with frommap()
Previously, all tuples created with frommap() used default format table_format_runtime, and therefore the created data tuples were not checked for the ability to be inserted into the target space. Moreover frommap(...):tomap(...) procedures sequence also did not work because tomap(..) routine assumes that the tuple has format with field names. Closes #4045
Showing
- src/box/lua/space.cc 1 addition, 1 deletionsrc/box/lua/space.cc
- src/box/lua/tuple.c 8 additions, 3 deletionssrc/box/lua/tuple.c
- src/box/lua/tuple.h 2 additions, 1 deletionsrc/box/lua/tuple.h
- test/box/tuple.result 21 additions, 4 deletionstest/box/tuple.result
- test/box/tuple.test.lua 9 additions, 3 deletionstest/box/tuple.test.lua
Loading
Please register or sign in to comment