Code

store_lookup: Compare attribute string values on type mismatch.
authorSebastian Harl <sh@tokkee.org>
Sun, 5 Oct 2014 18:49:19 +0000 (20:49 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 5 Oct 2014 18:49:19 +0000 (20:49 +0200)
commit5c63464689b66b8b77a2583978ee701fd3246904
tree6b77c0cb17ac2d56406a7318f1e56385aef6eb7c
parenta8f40c76a5eccbd5d462a4a221867df93838d932
store_lookup: Compare attribute string values on type mismatch.

Given that we don't support any schema for attribute values, this sounds like
a better option than assuming that those values never match no matter which
comparison operator is used.
src/core/store_lookup.c
t/unit/core/store_lookup_test.c