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
dbc289ae
Commit
dbc289ae
authored
Jun 01, 2010
by
antirez
Browse files
Debug message was printing stuff that are sometimes not initialized/valid
parent
4e538759
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
dbc289ae
...
@@ -9598,8 +9598,8 @@ again:
...
@@ -9598,8 +9598,8 @@ again:
if (job->canceled) continue; /* Skip this, already canceled. */
if (job->canceled) continue; /* Skip this, already canceled. */
if (job->id == o) {
if (job->id == o) {
redisLog
(
REDIS_DEBUG
,
"*** CANCELED %p (%s) (type %d) (LIST ID %d)
\n
"
,
redisLog(REDIS_DEBUG,"*** CANCELED %p (
key
%s) (type %d) (LIST ID %d)\n",
(
void
*
)
job
,
(
char
*
)
o
->
ptr
,
job
->
type
,
i
);
(void*)job, (char*)
job->key
->ptr, job->type, i);
/* Mark the pages as free since the swap didn't happened
/* Mark the pages as free since the swap didn't happened
* or happened but is now discarded. */
* or happened but is now discarded. */
if (i != 1 && job->type == REDIS_IOJOB_DO_SWAP)
if (i != 1 && job->type == REDIS_IOJOB_DO_SWAP)
...
...
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