Skip to content

Commit 50617a9

Browse files
committed
Fix gen_node_support.pl for changed AclMode size
omitted from 7b37823, mea culpa. Complaint and fix from Amit Langote.
1 parent 7b2ccc5 commit 50617a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/nodes/gen_node_support.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,15 +954,15 @@ sub elem
954954
}
955955
elsif ($t eq 'uint32'
956956
|| $t eq 'bits32'
957-
|| $t eq 'AclMode'
958957
|| $t eq 'BlockNumber'
959958
|| $t eq 'Index'
960959
|| $t eq 'SubTransactionId')
961960
{
962961
print $off "\tWRITE_UINT_FIELD($f);\n";
963962
print $rff "\tREAD_UINT_FIELD($f);\n" unless $no_read;
964963
}
965-
elsif ($t eq 'uint64')
964+
elsif ($t eq 'uint64'
965+
|| $t eq 'AclMode')
966966
{
967967
print $off "\tWRITE_UINT64_FIELD($f);\n";
968968
print $rff "\tREAD_UINT64_FIELD($f);\n" unless $no_read;

0 commit comments

Comments
 (0)