Replicate EVALSHA as EVAL taking a dictionary of sha1 -> script source code.

This commit is contained in:
antirez
2011-07-13 15:38:03 +02:00
parent 70ecddc9f4
commit 4dd444bb4a
5 changed files with 79 additions and 3 deletions

View File

@ -383,7 +383,7 @@ unsigned int dictEncObjHash(const void *key) {
}
}
/* Sets type and diskstore negative caching hash table */
/* Sets type hash table */
dictType setDictType = {
dictEncObjHash, /* hash function */
NULL, /* key dup */