Branch: refs/heads/master
Home: https://github.com/tarantool/tarantool
Commit: 1ea674e8dd83814e1009e2f911ba6de451ad12c0
https://github.com/tarantool/tarantool/commit/1ea674e8dd83814e1009e2f911ba6de451ad12c0
Author: Dmitry E. Oboukhov <[email protected]>
Date: 2013-12-03 (Tue, 03 Dec 2013)
Changed paths:
M include/trigger.h
M src/box/alter.cc
M src/box/box_lua.cc
M src/box/box_lua.h
M src/box/box_lua_space.cc
M src/lua/session.cc
M test/box/bad_trigger.result
M test/box/lua.test.py
M test/box/session.result
M test/box/session.test.lua
A test/box/space.on_replace.result
A test/box/space.on_replace.test.lua
Log Message:
-----------
Add lua bindings for space triggers, fixes gh-40.
on_replace triggers on struct lua_trigger.
Session and space triggers use the same technology.
Code cleanup.
Commit: b0e9a91f115eaf384714eafb492563c20d7cb6fb
https://github.com/tarantool/tarantool/commit/b0e9a91f115eaf384714eafb492563c20d7cb6fb
Author: Konstantin Osipov <[email protected]>
Date: 2013-12-03 (Tue, 03 Dec 2013)
Changed paths:
M include/errcode.h
A include/lua/trigger.h
M include/trigger.h
M src/CMakeLists.txt
M src/box/alter.cc
M src/box/box_lua.cc
M src/box/box_lua.h
M src/box/box_lua_space.cc
M src/lua/session.cc
A src/lua/trigger.cc
M test/box/bad_trigger.result
M test/box/bad_trigger.test.py
M test/box/lua.result
M test/box/lua_misc.result
A test/box/on_replace.result
A test/box/on_replace.test.lua
M test/box/session.result
M test/box/session.test.lua
R test/box/space.on_replace.result
R test/box/space.on_replace.test.lua
Log Message:
-----------
space-luatriggers, gh-40, code review
Use common context for lua reference and for trigger state.
Wrap all calls to lua_call into a try/catch block.
Introduce LuarefGuard
Remove box_luactx, it's not adding any value now.
Implement multiple triggers. Reuse code in lua/trigger.cc.
Misc cleanups.
Rename a few files.
Compare:
https://github.com/tarantool/tarantool/compare/77483fc9e722...b0e9a91f115e_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp