Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: fix local_call not finding persistent func
Currently, if function was created as C stored procedure or as Lua persistent function (with body argument) via box.schema.func.create, all types of router.call and router.map_callrw cannot find it and return `Procedure 'name' is not defined` error. This is cased by the fact that both of these function use local_call, which invokes net_box.self.call, which doesn't currently work with C stored procedures due to the bug. Let's use box.func, where it's possible instead of net_box.self.call in local_call. Closes tarantool#436 NO_DOC=bugfix
- Loading branch information