- Nov 27, 2015
-
-
Konstantin Osipov authored
-
- Nov 26, 2015
-
-
Roman Tsisyk authored
* Extract high-level IPROTO_CALL code to box.cc * Move execute_c_call to func.cc * Prepare src/lua/call.cc to rewrite in C Incompatible changes: * #300 logic was reverted. An attempt to call an unexisting Lua function without universal execute permissions now cause "access denied" message instead of "function does not exist". Since there is no cache for Lua procedures, existence of a function can be checked only by attempt to execute it. Caller **must** have a permission to execute function in order to execute functions. It's obvious, isn't it? Anyway, this patch doesn't affect user experience with using stored procedures. The two steps still must be performed to allow Lua calls using the binary protocol: 1. A function must be defined in Lua 2. A function must be declared in box.schema and caller must have execute permission for this object or for entire "universe". The order actually doesn't matter - the both steps must be done.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
* Extract Lua initialization code to box/lua/init.c * Move lbox_update/upsert/delete to box/lua/index.c * Move all legacy and buggy code to box/lua/misc.cc No semantical code changes. Note: lbox_select() still doesn't support EXTERNAL_UNWIND!
-
Konstantin Osipov authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-
Konstantin Osipov authored
-
Roman Tsisyk authored
-
- Nov 25, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Nick Zavaritsky authored
-
Roman Tsisyk authored
Spent couple hours to figure it out.
-
- Nov 24, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
ocelot-inc authored
-
Konstantin Osipov authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Roman Tsisyk authored
Detect problems early.
-
ocelot-inc authored
-
Roman Tsisyk authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Add ifdef cplusplus guards to box/error.h and sanitize the contents of error.cc. Incompatible change: box_error_raise() is renamed to box_error_set() and requires a file and a line.
-
Roman Tsisyk authored
Check result of lua_pcall()
-
Roman Tsisyk authored
Allow to use public API functions from C code without including auto-generated module.h
-
- Nov 23, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Conflicts: src/diag.h
-
Konstantin Osipov authored
-