mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
A problem with replication with multiple slaves connectiong to a single master fixed. It was due to a typo, and reported on github by the user micmac. Also the copyright year fixed from many files.
This commit is contained in:
parent
ce8330208a
commit
12d090d2d0
2
adlist.c
2
adlist.c
@ -1,6 +1,6 @@
|
|||||||
/* adlist.c - A generic doubly linked list implementation
|
/* adlist.c - A generic doubly linked list implementation
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
adlist.h
2
adlist.h
@ -1,6 +1,6 @@
|
|||||||
/* adlist.h - A generic doubly linked list implementation
|
/* adlist.h - A generic doubly linked list implementation
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
ae.c
2
ae.c
@ -2,7 +2,7 @@
|
|||||||
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
|
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
|
||||||
* it in form of a library for easy reuse.
|
* it in form of a library for easy reuse.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
ae.h
2
ae.h
@ -2,7 +2,7 @@
|
|||||||
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
|
* for the Jim's event-loop (Jim is a Tcl interpreter) but later translated
|
||||||
* it in form of a library for easy reuse.
|
* it in form of a library for easy reuse.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Linux epoll(2) based ae.c module
|
/* Linux epoll(2) based ae.c module
|
||||||
* Copyright (C) 2009 Salvatore Sanfilippo - antirez@gmail.com
|
* Copyright (C) 2009-2010 Salvatore Sanfilippo - antirez@gmail.com
|
||||||
* Released under the BSD license. See the COPYING file for more info. */
|
* Released under the BSD license. See the COPYING file for more info. */
|
||||||
|
|
||||||
#include <sys/epoll.h>
|
#include <sys/epoll.h>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Select()-based ae.c module
|
/* Select()-based ae.c module
|
||||||
* Copyright (C) 2009 Salvatore Sanfilippo - antirez@gmail.com
|
* Copyright (C) 2009-2010 Salvatore Sanfilippo - antirez@gmail.com
|
||||||
* Released under the BSD license. See the COPYING file for more info. */
|
* Released under the BSD license. See the COPYING file for more info. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
2
anet.c
2
anet.c
@ -1,6 +1,6 @@
|
|||||||
/* anet.c -- Basic TCP socket stuff made a bit less boring
|
/* anet.c -- Basic TCP socket stuff made a bit less boring
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
anet.h
2
anet.h
@ -1,6 +1,6 @@
|
|||||||
/* anet.c -- Basic TCP socket stuff made a bit less boring
|
/* anet.c -- Basic TCP socket stuff made a bit less boring
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
dict.c
2
dict.c
@ -5,7 +5,7 @@
|
|||||||
* tables of power of two in size are used, collisions are handled by
|
* tables of power of two in size are used, collisions are handled by
|
||||||
* chaining. See the source code for more information... :)
|
* chaining. See the source code for more information... :)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
dict.h
2
dict.h
@ -5,7 +5,7 @@
|
|||||||
* tables of power of two in size are used, collisions are handled by
|
* tables of power of two in size are used, collisions are handled by
|
||||||
* chaining. See the source code for more information... :)
|
* chaining. See the source code for more information... :)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
pqsort.c
2
pqsort.c
@ -1,7 +1,7 @@
|
|||||||
/* The following is the NetBSD libc qsort implementation modified in order to
|
/* The following is the NetBSD libc qsort implementation modified in order to
|
||||||
* support partial sorting of ranges for Redis.
|
* support partial sorting of ranges for Redis.
|
||||||
*
|
*
|
||||||
* Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved.
|
* Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
|
||||||
*
|
*
|
||||||
* The original copyright notice follows. */
|
* The original copyright notice follows. */
|
||||||
|
|
||||||
|
2
pqsort.h
2
pqsort.h
@ -1,7 +1,7 @@
|
|||||||
/* The following is the NetBSD libc qsort implementation modified in order to
|
/* The following is the NetBSD libc qsort implementation modified in order to
|
||||||
* support partial sorting of ranges for Redis.
|
* support partial sorting of ranges for Redis.
|
||||||
*
|
*
|
||||||
* Copyright(C) 2009 Salvatore Sanfilippo. All rights reserved.
|
* Copyright(C) 2009-2010 Salvatore Sanfilippo. All rights reserved.
|
||||||
*
|
*
|
||||||
* See the pqsort.c file for the original copyright notice. */
|
* See the pqsort.c file for the original copyright notice. */
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Redis benchmark utility.
|
/* Redis benchmark utility.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Redis CLI (command line interface)
|
/* Redis CLI (command line interface)
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
4
redis.c
4
redis.c
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -2346,7 +2346,7 @@ static int selectDb(redisClient *c, int id) {
|
|||||||
|
|
||||||
static void *dupClientReplyValue(void *o) {
|
static void *dupClientReplyValue(void *o) {
|
||||||
incrRefCount((robj*)o);
|
incrRefCount((robj*)o);
|
||||||
return 0;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
static redisClient *createClient(int fd) {
|
static redisClient *createClient(int fd) {
|
||||||
|
2
redis.h
2
redis.h
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
sds.c
2
sds.c
@ -1,6 +1,6 @@
|
|||||||
/* SDSLib, A C dynamic strings library
|
/* SDSLib, A C dynamic strings library
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
2
sds.h
2
sds.h
@ -1,6 +1,6 @@
|
|||||||
/* SDSLib, A C dynamic strings library
|
/* SDSLib, A C dynamic strings library
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2006-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* zmalloc - total amount of allocated memory aware version of malloc()
|
/* zmalloc - total amount of allocated memory aware version of malloc()
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* zmalloc - total amount of allocated memory aware version of malloc()
|
/* zmalloc - total amount of allocated memory aware version of malloc()
|
||||||
*
|
*
|
||||||
* Copyright (c) 2006-2009, Salvatore Sanfilippo <antirez at gmail dot com>
|
* Copyright (c) 2009-2010, Salvatore Sanfilippo <antirez at gmail dot com>
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
Loading…
Reference in New Issue
Block a user