]> git.saurik.com Git - redis.git/commit
RDB type loading functions clarified in comments.
authorantirez <antirez@gmail.com>
Sat, 2 Jun 2012 08:21:57 +0000 (10:21 +0200)
committerantirez <antirez@gmail.com>
Sat, 2 Jun 2012 08:21:57 +0000 (10:21 +0200)
commitc7a25200e29f8ea3c1d42152ef22ef2020a1fd06
treef29747c5a1fa2c4d0c53dfb894b430abd454a1ff
parent1419406e8dd828f12b4810286d701b2b87ccd7ee
RDB type loading functions clarified in comments.

Improved comments to make clear that rdbLoadType() just loads a
general TYPE in the context of RDB that can be an object type or an
expire type, end-of-file, and so forth.

While rdbLoadObjectType() enforces that the type is a valid Object Type
otherwise it returns -1.
src/rdb.c