projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0f483
)
No longer used macro rdbIsOpcode() removed.
author
antirez
<antirez@gmail.com>
Tue, 30 Oct 2012 18:10:46 +0000
(19:10 +0100)
committer
antirez
<antirez@gmail.com>
Tue, 30 Oct 2012 18:10:56 +0000
(19:10 +0100)
src/rdb.h
patch
|
blob
|
blame
|
history
diff --git
a/src/rdb.h
b/src/rdb.h
index 37f4474564b11b18039f6afeba566aaf709e49dc..1c07994f7cee2fd6eaf0512c05dfec9dd5dd6ae0 100644
(file)
--- a/
src/rdb.h
+++ b/
src/rdb.h
@@
-62,9
+62,6
@@
#define REDIS_RDB_OPCODE_SELECTDB 254
#define REDIS_RDB_OPCODE_EOF 255
-/* Test if a type is an opcode. */
-#define rdbIsOpcode(t) (t >= 253 && t <= 255)
-
int rdbSaveType(rio *rdb, unsigned char type);
int rdbLoadType(rio *rdb);
int rdbSaveTime(rio *rdb, time_t t);