mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
Implement parsing of replication stream from redis
This commit is contained in:
parent
46929e9c52
commit
1490eb5c3c
7 changed files with 337 additions and 65 deletions
|
@ -21,9 +21,9 @@ using facade::kDbIndOutOfRangeErr;
|
|||
|
||||
#define RETURN_ON_ERR(x) \
|
||||
do { \
|
||||
auto ec = (x); \
|
||||
if (ec) \
|
||||
return ec; \
|
||||
auto __ec = (x); \
|
||||
if (__ec) \
|
||||
return __ec; \
|
||||
} while (0)
|
||||
|
||||
#endif // RETURN_ON_ERR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue