From 9d00e177a6912e87c972a06a52ed3a0205de700c Mon Sep 17 00:00:00 2001 From: eggcar Date: Fri, 3 Jul 2020 14:56:42 +0800 Subject: [PATCH] in fdb_kv_to_blob(): kv->addr.start should be assigned to blob->saved.meta_addr ? --- src/fdb_kvdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdb_kvdb.c b/src/fdb_kvdb.c index 4089c79..929b4a4 100644 --- a/src/fdb_kvdb.c +++ b/src/fdb_kvdb.c @@ -621,7 +621,7 @@ fdb_kv_t fdb_kv_get_obj(fdb_kvdb_t db, const char *key, fdb_kv_t kv) */ fdb_blob_t fdb_kv_to_blob(fdb_kv_t kv, fdb_blob_t blob) { - blob->saved.addr = kv->addr.start; + blob->saved.meta_addr = kv->addr.start; blob->saved.addr = kv->addr.value; blob->saved.len = kv->value_len;