Branch: refs/heads/master-valgrind
Home: https://github.com/mailru/tarantool
Commit: be213d0c794ce35ec21f100b011ee2ab53487ee8
https://github.com/mailru/tarantool/commit/be213d0c794ce35ec21f100b011ee2ab53487ee8
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-22 (Mon, 22 Aug 2011)
Changed paths:
M core/fiber.m
M core/replication.m
M mod/box/box.m
M mod/box/memcached.h
M mod/box/memcached.m
Log Message:
-----------
Merge branch 'master-valgrind' of github.com:mailru/tarantool into
master-valgrind
Commit: 58f5c07e3015d82af1f7d6a73e6238fe9d5a0fc0
https://github.com/mailru/tarantool/commit/58f5c07e3015d82af1f7d6a73e6238fe9d5a0fc0
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-25 (Thu, 25 Aug 2011)
Changed paths:
M core/tarantool_lua.m
M doc/user/language-reference.xml
M include/tarantool.h
M mod/box/CMakeLists.txt
M mod/box/box.h
A mod/box/box.lua
M mod/box/box.m
M mod/box/box_lua.m
M mod/box/memcached.m
M test/box/configuration.result
M test/box/lua.result
M test/box/lua.test
M test/box/show.result
M test/box/stat.result
A test/box_big/lua.result
A test/box_big/lua.test
M test/box_big/tarantool.cfg
M test/box_memcached/multiversioning.result
M test/lib/admin_connection.py
M test/lib/sql.g
M test/lib/sql.py
M test/lib/sql_ast.py
Log Message:
-----------
Lua: mature the implementation CALL command in the binary protocol.
Fix a bug when Lua transaction was rolled back
twice when Lua procedure was invoked from CALL.
Change the way arguments to and from CALL
statement in the binary protocol are passed:
we used to pass everything from the wire as a single
binary blob. Now every field of the received
tuple is passed in as a separate string argument.
Everything passed back from Lua is converted to a tuple. This
makes CALL response similar to one of SELECT.
Improve box.pack() to convert its argument to integer when
necessary. Add an argument count check to box.pack().
Additionally, now box.pack() can be used to pack
operations of 'UPDATE'.
Use tarantool_lua_tostring() in iov_add_ret():
this function is now used to convert return values to
the binary protocol in box_lua.m. This is necessary
if we try to send boolean or nil over the
binary wire, since Lua C API lua_tostring()
does not convert them.
Add box.lua - a system Lua script
compiled into Tarantool and containing a bunch
of Lua code preloaded at startup.
Populate box.lua with implementation
of basic Lua functions:
box.select(), box.update(), box.replace(),
box.insert() (currently an alias for box.replace()),
box.delete(). They are all wrappers around box.process().
Move box_lua_init() to the beginning of mod_init(),
since Lua in future can be used in recover().
Fix a wrong assumption about the contents
of Lua stack in iov_add_multret().
Update sql.g Python SQL grammar to allow
an empty argumeent list for procedure in CALL
statement.
Add initial documentation on Lua procedures.
Add more Lua tests.
Unrelated: rename INSERT to REPLACE, and UPDATE_FIELDS to
UPDATE.
Remove SELECT_LIMIT, which is not used any more.
Commit: 412e7a0f939e0f50082b89d2f494d1cbe88620d8
https://github.com/mailru/tarantool/commit/412e7a0f939e0f50082b89d2f494d1cbe88620d8
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-25 (Thu, 25 Aug 2011)
Changed paths:
M CMakeLists.txt
M connector/c/CMakeLists.txt
M test/CMakeLists.txt
M test/box/configuration.result
M test/box/show.result
M test/box/stat.result
M test/box_memcached/multiversioning.result
Log Message:
-----------
Fix compilation and test failures in -DCMAKE_BUILD_TYPE=RelWithDebugInfo
Commit: a9dd90f58443d26ef150a5f6766405f5eb15f9e7
https://github.com/mailru/tarantool/commit/a9dd90f58443d26ef150a5f6766405f5eb15f9e7
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-27 (Sat, 27 Aug 2011)
Changed paths:
M core/tarantool_lua.m
A test/box/fifo.lua
M test/box/lua.result
M test/box/lua.test
Log Message:
-----------
Lua: add an implementation of simple FIFO queue to the test suite.
Implement box.unpack() to be able to convert integers,
packed into a tuple, to Lua numbers
Commit: 7fa8812efaf95a6855252a5567cc7f736ce98d74
https://github.com/mailru/tarantool/commit/7fa8812efaf95a6855252a5567cc7f736ce98d74
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-27 (Sat, 27 Aug 2011)
Changed paths:
M cfg/CMakeLists.txt
R cfg/tarantool_box_cfg.cfg
Log Message:
-----------
Cleanup: remove generation of tarantool_box_cfg.cfg
Remove auto-generation of tarantool_box_cfg.cfg.
This was intended as a sample configuration
file, but it is no longer syntactically correct,
and thus can not be used.
Besides, there are now semantical rules on top
of the syntax restrictions (e.g. you can't define
memcached_expire on a replica), which also
make the auto-generated config incorrect.
Remove it to not mislead first-time users into
trying it out.
Commit: a244a6b325e819f25c33c0bd36f8e3557ab92380
https://github.com/mailru/tarantool/commit/a244a6b325e819f25c33c0bd36f8e3557ab92380
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-29 (Mon, 29 Aug 2011)
Changed paths:
M CMakeLists.txt
M cfg/CMakeLists.txt
R cfg/tarantool_box_cfg.cfg
M connector/c/CMakeLists.txt
M core/tarantool_lua.m
M doc/user/language-reference.xml
M include/tarantool.h
M mod/box/CMakeLists.txt
M mod/box/box.h
A mod/box/box.lua
M mod/box/box.m
M mod/box/box_lua.m
M mod/box/memcached.m
M test/CMakeLists.txt
M test/box/admin.result
M test/box/configuration.result
A test/box/fifo.lua
M test/box/lua.result
M test/box/lua.test
M test/box/stat.result
A test/box_big/lua.result
A test/box_big/lua.test
M test/box_big/tarantool.cfg
M test/box_memcached/multiversioning.result
M test/lib/admin_connection.py
M test/lib/sql.g
M test/lib/sql.py
M test/lib/sql_ast.py
Log Message:
-----------
Merge branch 'master' into master-valgrind
Commit: 3a98d6000f31913feaa245eaf0fb2e8532388bec
https://github.com/mailru/tarantool/commit/3a98d6000f31913feaa245eaf0fb2e8532388bec
Author: Konstantin Osipov <[email protected]>
Date: 2011-08-29 (Mon, 29 Aug 2011)
Changed paths:
M core/admin.m
M core/admin.rl
M mod/box/box_lua.m
M test/box/lua.result
M test/box/lua.test
Log Message:
-----------
Merge master into master-valgrind. Fix broken tests.
Install a filter to not include a local path into
a test results.
Fix the code which allocates Lua coroutines to properly
destroy them: the old code could destroy the same coroutine
twice, or never at all.
Compare: https://github.com/mailru/tarantool/compare/25cb8c0...3a98d60
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp