Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RekGRpth committed Dec 20, 2024
1 parent e5e7d28 commit bab840d
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 @@ -970,8 +970,8 @@ load_table_size(StringInfoData *active_oids)
{
HeapTuple val = SPI_tuptable->vals[row];
Oid oid = DatumGetObjectId(SPI_getbinval_wrapper(val, tupdesc, tableid_num, false));
int64 size = DatumGetObjectId(SPI_getbinval_wrapper(val, tupdesc, size_num, false));
int16 segid = DatumGetObjectId(SPI_getbinval_wrapper(val, tupdesc, segid_num, false));
int64 size = DatumGetInt64(SPI_getbinval_wrapper(val, tupdesc, size_num, false));
int16 segid = DatumGetInt16(SPI_getbinval_wrapper(val, tupdesc, segid_num, false));

update_active_table_size(oid, size, segid);

Expand Down

0 comments on commit bab840d

Please sign in to comment.