lua: remove exceptions from function luaL_tofield()
Before this commit, the luaL_tofield() function threw a Lua exception when an error occurred. This behavior has been changed in this patch. Now it sets diag_set() and returns -1 in case of an error. Needed for #3505
Showing
- src/box/lua/call.c 6 additions, 3 deletionssrc/box/lua/call.c
- src/box/lua/tuple.c 2 additions, 1 deletionsrc/box/lua/tuple.c
- src/lua/msgpack.c 8 additions, 4 deletionssrc/lua/msgpack.c
- src/lua/utils.c 155 additions, 68 deletionssrc/lua/utils.c
- src/lua/utils.h 6 additions, 2 deletionssrc/lua/utils.h
Loading
Please register or sign in to comment