Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7ba90225
Commit
7ba90225
authored
Apr 25, 2016
by
Oran Agra
Browse files
fix small issues in redis 3.2
parent
b5548957
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
7ba90225
...
...
@@ -928,6 +928,8 @@ void configSetCommand(client *c) {
"lazyfree-lazy-server-del"
,
server
.
lazyfree_lazy_server_del
)
{
}
config_set_bool_field
(
"slave-lazy-flush"
,
server
.
repl_slave_lazy_flush
)
{
}
config_set_bool_field
(
"no-appendfsync-on-rewrite"
,
server
.
aof_no_fsync_on_rewrite
)
{
/* Numerical fields.
* config_set_numerical_field(name,var,min,max) */
...
...
src/rdb.c
View file @
7ba90225
...
...
@@ -779,7 +779,7 @@ int rdbSaveRio(rio *rdb, int *error) {
db_size
=
(
dictSize
(
db
->
dict
)
<=
UINT32_MAX
)
?
dictSize
(
db
->
dict
)
:
UINT32_MAX
;
expires_size
=
(
dictSize
(
db
->
dict
)
<=
UINT32_MAX
)
?
expires_size
=
(
dictSize
(
db
->
expires
)
<=
UINT32_MAX
)
?
dictSize
(
db
->
expires
)
:
UINT32_MAX
;
if
(
rdbSaveType
(
rdb
,
RDB_OPCODE_RESIZEDB
)
==
-
1
)
goto
werr
;
...
...
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