mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
feat(json_family): Add support of the JSON legacy mode (#3284)
This commit is contained in:
parent
7df72fd6d0
commit
75452a7108
9 changed files with 1733 additions and 1012 deletions
|
@ -44,17 +44,6 @@ using facade::kWrongTypeErr;
|
|||
|
||||
#endif // RETURN_ON_BAD_STATUS
|
||||
|
||||
#ifndef RETURN_UNEXPECTED
|
||||
|
||||
#define RETURN_UNEXPECTED(x) \
|
||||
do { \
|
||||
if (!(x)) { \
|
||||
return (x).get_unexpected(); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#endif // RETURN_UNEXPECTED
|
||||
|
||||
#ifndef GET_OR_SEND_UNEXPECTED
|
||||
|
||||
#define GET_OR_SEND_UNEXPECTED(expr) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue