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
51af17e3
Unverified
Commit
51af17e3
authored
May 08, 2023
by
Oran Agra
Committed by
GitHub
May 08, 2023
Browse files
Merge pull request #12141 from oranagra/fix_32bit_ci
Fix defrag CI for 32bit after merge of jemalloc 5.3
parents
07d54dc5
cded14f3
Changes
1
Show whitespace changes
Inline
Side-by-side
src/debug.c
View file @
51af17e3
...
...
@@ -329,7 +329,8 @@ void mallctl_int(client *c, robj **argv, int argc) {
}
size_t
sz
=
sizeof
(
old
);
while
(
sz
>
0
)
{
if
((
ret
=
je_mallctl
(
argv
[
0
]
->
ptr
,
&
old
,
&
sz
,
argc
>
1
?
&
val
:
NULL
,
argc
>
1
?
sz
:
0
)))
{
size_t
zz
=
sz
;
if
((
ret
=
je_mallctl
(
argv
[
0
]
->
ptr
,
&
old
,
&
zz
,
argc
>
1
?
&
val
:
NULL
,
argc
>
1
?
sz
:
0
)))
{
if
(
ret
==
EPERM
&&
argc
>
1
)
{
/* if this option is write only, try just writing to it. */
if
(
!
(
ret
=
je_mallctl
(
argv
[
0
]
->
ptr
,
NULL
,
0
,
&
val
,
sz
)))
{
...
...
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