Branch: refs/heads/master
Home: https://github.com/mailru/tarantool
Commit: e2c6a26ba6fc64a70b0c80208710c48d008e0b44
https://github.com/mailru/tarantool/commit/e2c6a26ba6fc64a70b0c80208710c48d008e0b44
Author: Konstantin Osipov <[email protected]>
Date: 2012-08-24 (Fri, 24 Aug 2012)
Changed paths:
M mod/box/request.h
M mod/box/request.m
M src/CMakeLists.txt
M src/rope.c
M test/box/lua.result
M test/box/lua.test
M test/connector_c/CMakeLists.txt
M test/connector_c/update.c
M test/connector_c/update.result
Log Message:
-----------
Implement blueprint update-field-relative-id.
https://blueprints.launchpad.net/tarantool/+spec/update-field-relative-id
https://github.com/mailru/tarantool/wiki/UPDATE-request-implementation-%28ropes%29
*Incompatible change*
semantics of field indexes in UPDATE command conatining
more than one SET, DELETE or INSERT operation is
changed by this patch.
While before the patch, all field indexes were evaluated
before the update itself, after this patch, every
operation that changes the number of fields in a tuple
affects evaluation of field indexes of the subsequent
operation: i.e. indexes are evaluated against the "current"
tuple, as if all preceeding operations have been already
executed.
This patch changes the update implementation
to use a rope for field indexes. For details,
please refer to the comment near Update command,
and feature specification in Launchpad.
This is a prerequisite patch for UPDATE PUSH/POP
operations.
Commit: 8dddfa802f485109fa0d7a7184cf9c032ef5a29b
https://github.com/mailru/tarantool/commit/8dddfa802f485109fa0d7a7184cf9c032ef5a29b
Author: Konstantin Osipov <[email protected]>
Date: 2012-08-24 (Fri, 24 Aug 2012)
Changed paths:
M mod/box/request.m
M test/box/lua.result
M test/box/lua.test
Log Message:
-----------
Implement blueprint update-append
Implement blueprint update-append:
allow to push and pop fields at the end of the tuple,
without knowing the tuple size.
Use rope index to dynamically cut and paste fields
in a tuple.
Designate UINT32_MAX as a filed number for
tuple end. It's possible to SET or INSERT
fields at the end of the tuple, by specifying
field_no == UINT32_MAX. Delete
with field_no == UINT32_MAX deletes the last
field.
Add a test.
Commit: c2ce8fe3e1d492b9450d611541c1e56df460fc21
https://github.com/mailru/tarantool/commit/c2ce8fe3e1d492b9450d611541c1e56df460fc21
Author: Konstantin Osipov <[email protected]>
Date: 2012-08-25 (Sat, 25 Aug 2012)
Changed paths:
M cfg/prscfg.c
M cfg/prscfg.h
M cfg/tarantool_box_cfg.c
M cfg/tarantool_box_cfg.h
M mod/box/tuple.m
M src/tarantool.m
M test/box_replication/cfg/replica.cfg
Log Message:
-----------
Merge branch 'master' of github.com:mailru/tarantool
Compare: https://github.com/mailru/tarantool/compare/2f9ece89538a...c2ce8fe3e1d4
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp