EVALSHA is now case insensitive.

EVALSHA used to crash if the SHA1 was not lowercase (Issue #783).
Fixed using a case insensitive dictionary type for the sha -> script
map used for replication of scripts.
This commit is contained in:
antirez
2012-11-22 15:50:00 +01:00
parent cceb0c5b4a
commit 95f68f7b0f
4 changed files with 18 additions and 2 deletions

View File

@ -890,6 +890,7 @@ extern dictType setDictType;
extern dictType zsetDictType;
extern dictType clusterNodesDictType;
extern dictType dbDictType;
extern dictType shaScriptObjectDictType;
extern double R_Zero, R_PosInf, R_NegInf, R_Nan;
extern dictType hashDictType;