Branch: refs/heads/key-validate
Home: https://github.com/mailru/tarantool
Commit: 9f11c4a8fac302740d555fd05a969822f2223455
https://github.com/mailru/tarantool/commit/9f11c4a8fac302740d555fd05a969822f2223455
Author: Konstantin Osipov <[email protected]>
Date: 2013-06-22 (Sat, 22 Jun 2013)
Changed paths:
M src/box/bitset_index.cc
M src/box/hash_index.cc
M src/box/index.cc
M src/box/index.h
M src/box/request.cc
M src/box/tree_index.cc
M test/big/hash.result
M test/big/tree_pk_multipart.result
Log Message:
-----------
key-validate: review fixes
- introduce primary_key_validate
- make asserts follow the coding style
- the original patch introduced a regression
in the error message when using a multi-part
key in update/delete: since, in the original patch,
key_validate was invoked before primary-key validation,
the error message changed to a less suitable one. Remove
this.
- an assert that something is not NULL is useless noise,
since a few lines down there's definitely going to be
NULL pointer dereference.
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp