Lua: add CALL command to the binary protocol.
CALL accepts flags and a tuple (list of fields). Add CALL support to the sql.g parser (Python testing environment). Add two new error codes: ER_PROC_LUA (an error inside Lua procedure) and ER_NO_SUCH_PROC. Since so far there is no way to create a stored procedure (one needs to rebuild Tarantool to pre-load it), this addition has little practical use.
Showing
- core/pickle.m 14 additions, 0 deletionscore/pickle.m
- doc/box-protocol.txt 30 additions, 1 deletiondoc/box-protocol.txt
- include/errcode.h 2 additions, 2 deletionsinclude/errcode.h
- include/exception.h 1 addition, 0 deletionsinclude/exception.h
- include/pickle.h 3 additions, 1 deletioninclude/pickle.h
- mod/box/box.h 2 additions, 1 deletionmod/box/box.h
- mod/box/box.m 42 additions, 24 deletionsmod/box/box.m
- mod/box/box_lua.h 45 additions, 0 deletionsmod/box/box_lua.h
- mod/box/box_lua.m 83 additions, 1 deletionmod/box/box_lua.m
- test/box/configuration.result 1 addition, 0 deletionstest/box/configuration.result
- test/box/lua.result 6 additions, 0 deletionstest/box/lua.result
- test/box/lua.test 3 additions, 0 deletionstest/box/lua.test
- test/box/show.result 2 additions, 0 deletionstest/box/show.result
- test/box/stat.result 2 additions, 0 deletionstest/box/stat.result
- test/box_memcached/multiversioning.result 1 addition, 0 deletionstest/box_memcached/multiversioning.result
- test/lib/sql.g 5 additions, 0 deletionstest/lib/sql.g
- test/lib/sql.py 13 additions, 1 deletiontest/lib/sql.py
- test/lib/sql_ast.py 18 additions, 0 deletionstest/lib/sql_ast.py
Loading
Please register or sign in to comment