diff --git a/connector/c/include/tarantool/tnt_reply.h b/connector/c/include/tarantool/tnt_reply.h index e210dc0ef40e8497398c0aa8f2652370b92e25f5..d3af969b8eeb81427cfbe15166983e23f8801c6d 100644 --- a/connector/c/include/tarantool/tnt_reply.h +++ b/connector/c/include/tarantool/tnt_reply.h @@ -37,6 +37,7 @@ struct tnt_reply { uint32_t count; }; +#define TNT_REPLY_ERR(R) ((R)->code >> 8) #define TNT_REPLY_LIST(R) (&(R)->tuples) void tnt_reply_init(struct tnt_reply *r);