Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
40c32c3e
Commit
40c32c3e
authored
Apr 02, 2009
by
antirez
Browse files
disable LZF compression since it's not able to load the DB for now, the load part is missing
parent
d0751937
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
40c32c3e
...
@@ -1691,7 +1691,7 @@ static int rdbSaveStringObject(FILE *fp, robj *obj) {
...
@@ -1691,7 +1691,7 @@ static int rdbSaveStringObject(FILE *fp, robj *obj) {
/* Try LZF compression - under 20 bytes it's unable to compress even
/* Try LZF compression - under 20 bytes it's unable to compress even
* aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */
* aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */
if
(
len
>
20
)
{
if
(
0
&&
len
>
20
)
{
int
retval
;
int
retval
;
retval
=
rdbSaveLzfStringObject
(
fp
,
obj
);
retval
=
rdbSaveLzfStringObject
(
fp
,
obj
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment