mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
In Redis RDB check: minor output message changes.
This commit is contained in:
parent
e9f31ba9c2
commit
2ab7097178
@ -223,7 +223,8 @@ int redis_check_rdb(char *rdbfilename) {
|
|||||||
if ((auxkey = rdbLoadStringObject(&rdb)) == NULL) goto eoferr;
|
if ((auxkey = rdbLoadStringObject(&rdb)) == NULL) goto eoferr;
|
||||||
if ((auxval = rdbLoadStringObject(&rdb)) == NULL) goto eoferr;
|
if ((auxval = rdbLoadStringObject(&rdb)) == NULL) goto eoferr;
|
||||||
|
|
||||||
rdbCheckInfo("%s = '%s'", (char*)auxkey->ptr, (char*)auxval->ptr);
|
rdbCheckInfo("AUX FIELD %s = '%s'",
|
||||||
|
(char*)auxkey->ptr, (char*)auxval->ptr);
|
||||||
decrRefCount(auxkey);
|
decrRefCount(auxkey);
|
||||||
decrRefCount(auxval);
|
decrRefCount(auxval);
|
||||||
continue; /* Read type again. */
|
continue; /* Read type again. */
|
||||||
@ -265,6 +266,8 @@ int redis_check_rdb(char *rdbfilename) {
|
|||||||
rdbCheckInfo("RDB file was saved with checksum disabled: no check performed.");
|
rdbCheckInfo("RDB file was saved with checksum disabled: no check performed.");
|
||||||
} else if (cksum != expected) {
|
} else if (cksum != expected) {
|
||||||
rdbCheckError("RDB CRC error");
|
rdbCheckError("RDB CRC error");
|
||||||
|
} else {
|
||||||
|
rdbCheckInfo("Checksum OK");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user