Skip to content

Commit

Permalink
size and hash
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Oct 16, 2024
1 parent e9a3b45 commit ea55c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gp_activetable.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,11 @@ gp_fetch_active_tables(bool is_init)

memset(&ctl, 0, sizeof(ctl));
ctl.keysize = sizeof(Oid);
ctl.entrysize = offsetof(ActiveTableEntryCombined, tablesize) + (SEGCOUNT + 1) * sizeof(Size);
ctl.entrysize = sizeof(ActiveTableEntryCombined) + SEGCOUNT * sizeof(Size);
ctl.hcxt = CurrentMemoryContext;

local_table_stats_map = diskquota_hash_create("local active table map with relfilenode info", 1024, &ctl,
HASH_ELEM | HASH_CONTEXT, DISKQUOTA_TAG_HASH);
HASH_ELEM | HASH_CONTEXT, DISKQUOTA_OID_HASH);

if (is_init)
{
Expand Down

0 comments on commit ea55c53

Please sign in to comment.