1
0
mirror of https://github.com/fluencelabs/redis synced 2025-07-22 20:11:56 +00:00

Fixed issues with expire introduced with latest millisecond resolution feature. Many time_t were not converted to long long, and one time() call was not replaced with mstime().

This commit is contained in:
antirez
2011-11-12 01:04:27 +01:00
parent 3570629f90
commit 4be855e757
4 changed files with 7 additions and 7 deletions

@@ -91,7 +91,7 @@ void computeDatasetDigest(unsigned char *final) {
while((de = dictNext(di)) != NULL) {
sds key;
robj *keyobj, *o;
time_t expiretime;
long long expiretime;
memset(digest,0,20); /* This key-val digest */
key = dictGetKey(de);