chore: some renames + fix a typo in RETURN_ON_BAD_STATUS (#3763)

* chore: some renames + fix a typo in RETURN_ON_BAD_STATUS

Renames in transaction.h - no functional changes.
Fix a typo in error.h following  #3758
---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
Roman Gershman 2024-09-23 13:16:50 +03:00 committed by GitHub
parent 9303591010
commit b7b4cabacc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 22 additions and 19 deletions

View file

@ -39,7 +39,7 @@ using facade::kWrongTypeErr;
do { \
OpStatus __s = (x).status(); \
if (__s != OpStatus::OK) { \
return (x).status(); \
return __s; \
} \
} while (0)