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
ef3ac64a
Commit
ef3ac64a
authored
Nov 12, 2009
by
antirez
Browse files
Solaris fix thanks to Alan Harder
parent
51e01d9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Changelog
View file @
ef3ac64a
2009-11-12 Merge git://github.com/ianxm/redis
2009-11-12 ZSCORE fixed, now returns NULL on missing key or missing element
2009-11-12 Redis test will not fail the SAVE test even if a background save is in progress
2009-11-12 LPOPPUSH renamed into RPOPLPUSH
2009-11-11 can select db num
2009-11-11 Workaround for test-redis.tcl and Tcl 8.4.x about ZSCORE test
2009-11-11 Removed a long time warning compiling with recent GCC on Linux
2009-11-11 TODO updated
2009-11-11 LPUSHPOP first implementation
2009-11-10 Tcl script, make target, and redis.c changes to build the static symbol table automagically
2009-11-10 Implemented a much better lazy expiring algorithm for EXPIRE
2009-11-10 Fixed issue 92 in redis: redis-cli (nil) return value lacks CR/LF
2009-11-10 Minor TODO change with new expiring algorithm description. New expiring algorithm moved since it'll go in 1.1
2009-11-04 redis-test is now a better Redis citizen, testing everything against DB 9 and 10 and only if this DBs are empty.
2009-11-04 redis-test is now a better Redis citizen, testing everything against DB 9 and 10 and only if this DBs are empty.
2009-11-04 fixed a refcounting bug with SORT ... STORE leading to random crashes
2009-11-04 fixed a refcounting bug with SORT ... STORE leading to random crashes
2009-11-04 masterauth option merged, thanks to Anthony Lauzon
2009-11-04 masterauth option merged, thanks to Anthony Lauzon
...
...
redis.c
View file @
ef3ac64a
...
@@ -906,7 +906,7 @@ static int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientD
...
@@ -906,7 +906,7 @@ static int serverCron(struct aeEventLoop *eventLoop, long long id, void *clientD
/* Check if a background saving in progress terminated */
/* Check if a background saving in progress terminated */
if
(
server
.
bgsaveinprogress
)
{
if
(
server
.
bgsaveinprogress
)
{
int
statloc
;
int
statloc
;
if
(
wait
4
(
-
1
,
&
statloc
,
WNOHANG
,
NULL
))
{
if
(
wait
3
(
&
statloc
,
WNOHANG
,
NULL
))
{
int
exitcode
=
WEXITSTATUS
(
statloc
);
int
exitcode
=
WEXITSTATUS
(
statloc
);
int
bysignal
=
WIFSIGNALED
(
statloc
);
int
bysignal
=
WIFSIGNALED
(
statloc
);
...
...
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