Commit 76419d8d authored by antirez's avatar antirez
Browse files

Merge branch '5.0' of github.com:/antirez/redis into 5.0

parents 72ba6069 bd7ddd79
...@@ -21,8 +21,9 @@ int main(int argc, char **argv) { ...@@ -21,8 +21,9 @@ int main(int argc, char **argv) {
} }
srand(time(NULL)); srand(time(NULL));
char *filename = argv[1];
cycles = atoi(argv[2]); cycles = atoi(argv[2]);
fd = open("dump.rdb",O_RDWR); fd = open(filename,O_RDWR);
if (fd == -1) { if (fd == -1) {
perror("open"); perror("open");
exit(1); exit(1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment