]> granicus.if.org Git - postgresql/commit
Try and silence spurious Coverity warning.
authorAndrew Gierth <rhodiumtoad@postgresql.org>
Mon, 3 Apr 2017 22:30:24 +0000 (23:30 +0100)
committerAndrew Gierth <rhodiumtoad@postgresql.org>
Mon, 3 Apr 2017 22:30:24 +0000 (23:30 +0100)
commitf5780935266bd72951c770396f9267366414d1b9
treec919fd59c3715c10094a83beebb947df59fd112e
parent9fa6e08d4a16f9b0461743cff35781e16308c106
Try and silence spurious Coverity warning.

gset_data (aka gd) in planner.c is always non-null if and only if
parse->groupingSets is non-null, but Coverity doesn't know that and
complains.  Feed it an assertion to see if that keeps it happy.
src/backend/optimizer/plan/planner.c