]> 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)
commit1377b40965b257e228ae8faf45c6ce145ce357e5
tree889af3dd46a2b5c4effaf141c467d5d167e44b1b
parent5f0ac02d7f8ded730c27a5197f8c594302c5d7e0
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