]> granicus.if.org Git - postgresql/commit
Fix uninitialized-variable bug.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 23:04:32 +0000 (19:04 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2017 23:04:32 +0000 (19:04 -0400)
commite56dd7cf5078d9651d715a72cd802a3aa346c63a
tree9377412942d7d6f695d3da7892cc4a30eedad1fa
parentf25000c832f2e147986110116d4ba1a57b9d9256
Fix uninitialized-variable bug.

map_partition_varattnos() failed to set its found_whole_row output
parameter if the given expression list was NIL.  This seems to be
a pre-existing bug that chanced to be exposed by commit 6f6b99d13.
It might be unreachable in v10, but I have little faith in that
proposition, so back-patch.

Per buildfarm.
src/backend/catalog/partition.c