Limit pg_size by 64

This commit is contained in:
Vitaliy Filippov
2026-06-18 00:24:48 +03:00
parent ec9cfa76c1
commit 5627977a9b
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -159,9 +159,9 @@ void pg_obj_state_check_t::handle_version()
{
n_mismatched++;
}
if (!(has_roles & (1 << replica)))
if (!(has_roles & ((uint64_t)1 << replica)))
{
has_roles = has_roles | (1 << replica);
has_roles = has_roles | ((uint64_t)1 << replica);
n_roles++;
}
}