diff options
author | Guy Benoish <guy.benoish@redislabs.com> | 2020-01-30 19:15:12 +0530 |
---|---|---|
committer | Guy Benoish <guy.benoish@redislabs.com> | 2020-01-30 19:15:12 +0530 |
commit | d72b7ed4fbcf8f16196d78267b469204741121db (patch) | |
tree | cd59d69908f1dbb217f0e9492b4283b585dcdd96 /src/rdb.c | |
parent | bf53f9280a7068ea80a47ccdc0fe9d50258e0612 (diff) | |
download | redis-d72b7ed4fbcf8f16196d78267b469204741121db.tar.gz |
DEBUG OBJECT should pass keyname to module when loading
Diffstat (limited to 'src/rdb.c')
-rw-r--r-- | src/rdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1002,8 +1002,8 @@ ssize_t rdbSaveObject(rio *rdb, robj *o, robj *key) { * the rdbSaveObject() function. Currently we use a trick to get * this length with very little changes to the code. In the future * we could switch to a faster solution. */ -size_t rdbSavedObjectLen(robj *o) { - ssize_t len = rdbSaveObject(NULL,o,NULL); +size_t rdbSavedObjectLen(robj *o, robj *key) { + ssize_t len = rdbSaveObject(NULL,o,key); serverAssertWithInfo(NULL,o,len != -1); return len; } |