Tarantool development patches archive
 help / color / mirror / Atom feed
* [PATCH] space: fix space_group_id return value
@ 2019-04-02 17:06 Vladimir Davydov
  2019-04-02 17:06 ` [PATCH] vinyl: rename vy_read_view_merge argument from hint to prev_tuple Vladimir Davydov
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vladimir Davydov @ 2019-04-02 17:06 UTC (permalink / raw)
  To: tarantool-patches

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-02 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02 17:06 [PATCH] space: fix space_group_id return value Vladimir Davydov
2019-04-02 17:06 ` [PATCH] vinyl: rename vy_read_view_merge argument from hint to prev_tuple Vladimir Davydov
2019-04-02 17:09   ` Vladimir Davydov
2019-04-02 17:09 ` [PATCH] space: fix space_group_id return value Vladimir Davydov
2019-04-02 18:05 ` [tarantool-patches] " Konstantin Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox