You need to sign in or sign up before continuing.
Commit 83103f83 authored by Vitaly Arbuzov's avatar Vitaly Arbuzov
Browse files

Remove redundant declarations

Cache last calculated hash

Revert "Cache last calculated hash"

This reverts commit 8f0a603f18cbbf469d2f90e9c9f3186846b1050c.
parent 6283de4c
......@@ -174,8 +174,6 @@ void freeObjAsync(robj *key, robj *obj, int dbid) {
}
}
unsigned long long int dbSize(const redisDb *db);
/* Empty a Redis DB asynchronously. What the function does actually is to
* create a new empty set of hash tables and scheduling the old ones for
* lazy freeing. */
......
......@@ -64,8 +64,6 @@ void rdbCheckSetError(const char *fmt, ...);
#ifdef __GNUC__
void rdbReportError(int corruption_error, int linenum, char *reason, ...) __attribute__ ((format (printf, 3, 4)));
void expandDb(const redisDb *db, uint64_t db_size);
#endif
void rdbReportError(int corruption_error, int linenum, char *reason, ...) {
va_list ap;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment