From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH] space: fix space_group_id return value Date: Tue, 2 Apr 2019 20:06:16 +0300 Message-Id: To: tarantool-patches@freelists.org List-ID: Should be uint32_t obviously, not bool. This didn't affect anything, because there are only two replication groups right now - 0 and 1. Spotted by @GeorgyKirichenko. Fixes commit f64f46199e19 ("Introduce replica local spaces"). --- src/box/space.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/space.h b/src/box/space.h index bbb2addd..13a220d1 100644 --- a/src/box/space.h +++ b/src/box/space.h @@ -235,7 +235,7 @@ space_is_temporary(struct space *space) } /** Return replication group id of a space. */ -static inline bool +static inline uint32_t space_group_id(struct space *space) { return space->def->opts.group_id; -- 2.11.0