OSDN Git Service

Fix max(int8) result by making sure int8larger() copies its result
authorThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 15 Apr 1999 13:34:45 +0000 (13:34 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Thu, 15 Apr 1999 13:34:45 +0000 (13:34 +0000)
commit1d1cf38c0d02908e3c6520dab94c878947ca8152
tree875a5de76044ca5732992d3820b2710c35972640
parent84746009c2e5686217679ccaae6ed2a18164d37c
Fix max(int8) result by making sure int8larger() copies its result
 rather than reusing the input storage.
Also made the same fix to int8smaller(), though there wasn't a symptom,
 and went through and verified that other pass-by-reference data types
 do the same thing. Not an issue for the by-value types.
src/backend/utils/adt/int8.c