]> granicus.if.org Git - postgresql/commit
Remove useless if-test.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2018 18:54:16 +0000 (14:54 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 25 Mar 2018 18:54:16 +0000 (14:54 -0400)
commit3a2cb59887421a04b5ee158580198d731d115c61
tree0c105b3df85de0e935581334c69c2fea56a2bb25
parentee4a2c4a0345f2589ce32b64493b1b14e87f0465
Remove useless if-test.

Coverity complained that this check is pointless, and it's right.
There is no case where we'd call ExecutorStart with a null plannedstmt,
and if we did, it'd have crashed before here.  Thinko in commit cc415a56d.
src/backend/executor/execMain.c