Code

store: Don't overwrite attribute values if the new timestamp is too old.
authorSebastian Harl <sh@tokkee.org>
Fri, 4 Jul 2014 18:42:58 +0000 (20:42 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 4 Jul 2014 18:42:58 +0000 (20:42 +0200)
commit1eb1222c67ef59f797108d97575afeff40f2fdc8
tree9de7083b16b6c18d49185e8614db0a18d8ddf5f8
parent0a17f3d9f23b988420acbf5669bda4f2a0936c6b
store: Don't overwrite attribute values if the new timestamp is too old.

Also, extended the unit tests to catch this error.
src/core/store.c
t/unit/core/store_test.c