]> granicus.if.org Git - postgresql/commit
TestConfiguration returns int, not bool. This mistake is relatively
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:33:09 +0000 (20:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2003 20:33:09 +0000 (20:33 +0000)
commit28afe6f8ef79a1b06abcf7d7c86f0eb179a71fb3
tree6d66dd5001cec1e946f38b766616d6c66dfef648
parent40faf433b0fff7b8e9cad861c0b5366c981ad817
TestConfiguration returns int, not bool.  This mistake is relatively
harmless on signed-char machines but would lead to core dump in the
deadlock detection code if char is unsigned.  Amazingly, this bug has
been here since 7.1 and yet wasn't reported till now.  Thanks to Robert
Bruccoleri for providing the opportunity to track it down.
src/backend/storage/lmgr/deadlock.c