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
3da97ea6
Commit
3da97ea6
authored
Jul 16, 2015
by
antirez
Browse files
Add sdshdr5 to DEBUG structsize.
parent
0ab27a45
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug.c
View file @
3da97ea6
...
...
@@ -423,6 +423,7 @@ void debugCommand(redisClient *c) {
sizes
=
sdscatprintf
(
sizes
,
"bits:%d "
,(
sizeof
(
void
*
)
==
8
)
?
64
:
32
);
sizes
=
sdscatprintf
(
sizes
,
"robj:%d "
,(
int
)
sizeof
(
robj
));
sizes
=
sdscatprintf
(
sizes
,
"dictentry:%d "
,(
int
)
sizeof
(
dictEntry
));
sizes
=
sdscatprintf
(
sizes
,
"sdshdr5:%d "
,(
int
)
sizeof
(
struct
sdshdr5
));
sizes
=
sdscatprintf
(
sizes
,
"sdshdr8:%d "
,(
int
)
sizeof
(
struct
sdshdr8
));
sizes
=
sdscatprintf
(
sizes
,
"sdshdr16:%d "
,(
int
)
sizeof
(
struct
sdshdr16
));
sizes
=
sdscatprintf
(
sizes
,
"sdshdr32:%d "
,(
int
)
sizeof
(
struct
sdshdr32
));
...
...
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