sql: Add feature: call lua from sql; enable tests
This is a first implentation of box.internal.sql_create_function It works properly on limited set of cases. The main purpose for this feature by now is tests. Some test cases relaying on this feature were enabled. Part of #2233
Showing
- src/box/CMakeLists.txt 1 addition, 0 deletionssrc/box/CMakeLists.txt
- src/box/lua/call.c 2 additions, 0 deletionssrc/box/lua/call.c
- src/box/lua/lua_sql.c 173 additions, 0 deletionssrc/box/lua/lua_sql.c
- src/box/lua/lua_sql.h 39 additions, 0 deletionssrc/box/lua/lua_sql.h
- test/sql-tap/check.test.lua 82 additions, 81 deletionstest/sql-tap/check.test.lua
- test/sql-tap/date.test.lua 31 additions, 32 deletionstest/sql-tap/date.test.lua
- test/sql-tap/e_expr.test.lua 726 additions, 720 deletionstest/sql-tap/e_expr.test.lua
- test/sql-tap/func3.test.lua 2 additions, 2 deletionstest/sql-tap/func3.test.lua
- test/sql-tap/lua_sql.test.lua 159 additions, 0 deletionstest/sql-tap/lua_sql.test.lua
- test/sql-tap/selectG.test.lua 2 additions, 1 deletiontest/sql-tap/selectG.test.lua
- test/sql-tap/sort.test.lua 2 additions, 3 deletionstest/sql-tap/sort.test.lua
- test/sql-tap/subquery.test.lua 80 additions, 95 deletionstest/sql-tap/subquery.test.lua
- test/sql-tap/table.test.lua 5 additions, 6 deletionstest/sql-tap/table.test.lua
Loading
Please register or sign in to comment