disable LZF compression since it's not able to load the DB for now, the load part is missing

This commit is contained in:
antirez 2009-04-02 10:02:06 +02:00
parent d07519372b
commit 40c32c3e49

View File

@ -1691,7 +1691,7 @@ static int rdbSaveStringObject(FILE *fp, robj *obj) {
/* Try LZF compression - under 20 bytes it's unable to compress even
* aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */
if (len > 20) {
if (0 && len > 20) {
int retval;
retval = rdbSaveLzfStringObject(fp,obj);