antirez
|
9f772cc237
|
Return errors if a write command is called inside a Lua script after a random command was called. See https://github.com/antirez/redis/issues/95 for more information.
|
2011-09-27 15:30:31 +02:00 |
|
antirez
|
cd80380f20
|
Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts
|
2011-09-27 13:57:10 +02:00 |
|
antirez
|
15ef605340
|
Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts
|
2011-09-27 13:57:10 +02:00 |
|
antirez
|
2c4d7c157d
|
added the NOSCRIPT and RANDOM command flags
|
2011-09-27 13:45:46 +02:00 |
|
antirez
|
b60ed6e812
|
added the NOSCRIPT and RANDOM command flags
|
2011-09-27 13:45:46 +02:00 |
|
antirez
|
b84f94b1eb
|
command table refactoring to make it simpler adding new flags
|
2011-09-26 15:40:39 +02:00 |
|
antirez
|
5d02b00f56
|
command table refactoring to make it simpler adding new flags
|
2011-09-26 15:40:39 +02:00 |
|
antirez
|
66b7c21fc7
|
Lua math.random and math.randomseed replaced with our own version based on redisSrand48(). Seed initialized to the same value at every EVAL/EVALSHA call.
|
2011-09-23 15:40:58 +02:00 |
|
antirez
|
e108bab043
|
Lua math.random and math.randomseed replaced with our own version based on redisSrand48(). Seed initialized to the same value at every EVAL/EVALSHA call.
|
2011-09-23 15:40:58 +02:00 |
|
antirez
|
3ccc3570c2
|
Defined macro with bigger number that redisLrand48() can output.
|
2011-09-23 15:06:07 +02:00 |
|
antirez
|
69786b262d
|
Defined macro with bigger number that redisLrand48() can output.
|
2011-09-23 15:06:07 +02:00 |
|
antirez
|
148e45be5b
|
libc neutral random function derived from a drand48() implementation added. Will be used to replace Lua's math.random implementation.
|
2011-09-23 14:51:48 +02:00 |
|
antirez
|
cbdac04a5e
|
libc neutral random function derived from a drand48() implementation added. Will be used to replace Lua's math.random implementation.
|
2011-09-23 14:51:48 +02:00 |
|
antirez
|
3ad12623d4
|
rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller.
|
2011-09-22 16:00:40 +02:00 |
|
antirez
|
f96a8a8054
|
rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller.
|
2011-09-22 16:00:40 +02:00 |
|
antirez
|
596ac8715e
|
make sure to return just 1 for rio.c write when the target is a buffer, as we do when the target is a file.
|
2011-09-22 15:54:08 +02:00 |
|
antirez
|
69cecb511f
|
make sure to return just 1 for rio.c write when the target is a buffer, as we do when the target is a file.
|
2011-09-22 15:54:08 +02:00 |
|
antirez
|
06c356d912
|
comment on top of the _rio structure modified for correctness as actually fwrite/fread semantics is different in general, but was 0/1 in our old usage before rio.c as we always used 1 as number items, and the actual number of bytes to read as item length.
|
2011-09-22 15:47:48 +02:00 |
|
antirez
|
4c0462972e
|
comment on top of the _rio structure modified for correctness as actually fwrite/fread semantics is different in general, but was 0/1 in our old usage before rio.c as we always used 1 as number items, and the actual number of bytes to read as item length.
|
2011-09-22 15:47:48 +02:00 |
|
antirez
|
dbdf74ddfd
|
merge conflicts resolved
|
2011-09-22 15:15:26 +02:00 |
|
antirez
|
f9c6f39b2b
|
merge conflicts resolved
|
2011-09-22 15:15:26 +02:00 |
|
Salvatore Sanfilippo
|
bcbb91e6e3
|
Merge pull request #97 from jvain/redis-cli
redis-cli segfaults with single numeric argument greater than zero
|
2011-09-21 13:32:24 -07:00 |
|
Salvatore Sanfilippo
|
7c748c061e
|
Merge pull request #97 from jvain/redis-cli
redis-cli segfaults with single numeric argument greater than zero
|
2011-09-21 13:32:24 -07:00 |
|
Juri M. Vainonen
|
2d52506bc2
|
fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero.
|
2011-09-21 23:22:14 +03:00 |
|
Juri M. Vainonen
|
aee7f99760
|
fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero.
|
2011-09-21 23:22:14 +03:00 |
|
Salvatore Sanfilippo
|
660c6f5e69
|
Merge pull request #78 from vambo/patch-1
Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan;
|
2011-09-20 02:00:58 -07:00 |
|
Salvatore Sanfilippo
|
ac1f6fd07a
|
Merge pull request #78 from vambo/patch-1
Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan;
|
2011-09-20 02:00:58 -07:00 |
|
Salvatore Sanfilippo
|
d5df7a7666
|
Merge pull request #79 from annulen/mac_ppc
Fixed compilation on Mac/PPC
|
2011-09-20 01:58:55 -07:00 |
|
Salvatore Sanfilippo
|
5bae401107
|
Merge pull request #79 from annulen/mac_ppc
Fixed compilation on Mac/PPC
|
2011-09-20 01:58:55 -07:00 |
|
Salvatore Sanfilippo
|
46f20e7917
|
Merge pull request #74 from kmerenkov/issue_620
[issue 620] don't segfault if number of arguments is less than 1
|
2011-09-20 01:55:34 -07:00 |
|
Salvatore Sanfilippo
|
18be93e0a4
|
Merge pull request #74 from kmerenkov/issue_620
[issue 620] don't segfault if number of arguments is less than 1
|
2011-09-20 01:55:34 -07:00 |
|
antirez
|
1fb3f7ad07
|
Include port number in error when can't bind lisetning port on startup.
|
2011-09-20 10:48:21 +02:00 |
|
antirez
|
eef17490d4
|
Include port number in error when can't bind lisetning port on startup.
|
2011-09-20 10:48:21 +02:00 |
|
antirez
|
9f50eaa47a
|
Fixed comment typo
|
2011-09-19 17:50:07 +02:00 |
|
antirez
|
e7aec180e8
|
Fixed comment typo
|
2011-09-19 17:50:07 +02:00 |
|
antirez
|
0a551df576
|
Comment out things in bio.c that are currently not useful but that may be useful in the future.
|
2011-09-19 17:06:27 +02:00 |
|
antirez
|
47e7f9acbd
|
Comment out things in bio.c that are currently not useful but that may be useful in the future.
|
2011-09-19 17:06:27 +02:00 |
|
antirez
|
d8c0b536b4
|
Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed.
|
2011-09-19 16:52:13 +02:00 |
|
antirez
|
77ca5fcba6
|
Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed.
|
2011-09-19 16:52:13 +02:00 |
|
antirez
|
918e80a29c
|
use aof_fsync wrapper instead of fsync(2) in bio.c
|
2011-09-16 15:53:01 +02:00 |
|
antirez
|
a60b397b6d
|
use aof_fsync wrapper instead of fsync(2) in bio.c
|
2011-09-16 15:53:01 +02:00 |
|
antirez
|
71d6796fd9
|
Merge remote-tracking branch 'origin/unstable' into bg-aof-2
|
2011-09-16 12:36:33 +02:00 |
|
antirez
|
af4707a80c
|
Merge remote-tracking branch 'origin/unstable' into bg-aof-2
|
2011-09-16 12:36:33 +02:00 |
|
antirez
|
07978ceb03
|
fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation.
|
2011-09-16 12:36:17 +02:00 |
|
antirez
|
a3fcd6bc21
|
fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation.
|
2011-09-16 12:36:17 +02:00 |
|
antirez
|
5d02f830e6
|
postpone the AOF fsync if policy is everysec and there is a background fsync already going.
|
2011-09-16 12:35:12 +02:00 |
|
antirez
|
db3c2a4fb4
|
postpone the AOF fsync if policy is everysec and there is a background fsync already going.
|
2011-09-16 12:35:12 +02:00 |
|
antirez
|
fa1876d48d
|
Fixed typo preventing compilation
|
2011-09-16 12:11:48 +02:00 |
|
antirez
|
9a35eb22bf
|
Fixed typo preventing compilation
|
2011-09-16 12:11:48 +02:00 |
|
Pieter Noordhuis
|
17629fc963
|
Enforce upper bound for number of requests in redis-benchmark
|
2011-09-16 11:25:00 +02:00 |
|