aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2025-01-25 11:28:14 -0800
committerNoah Misch <noah@leadboat.com>2025-01-25 11:28:19 -0800
commit216294ba592fdfaa38bdf9767527f8424bd29b14 (patch)
treec913d91cc2c02d69a15ece30c6124377d9b7d257 /src/bin/scripts/createuser.c
parentc768f54a25a431793ab17b7e64536c9360b96d8e (diff)
downloadpostgresql-216294ba592fdfaa38bdf9767527f8424bd29b14.tar.gz
postgresql-216294ba592fdfaa38bdf9767527f8424bd29b14.zip
Test ECPG decadd(), decdiv(), decmul(), and decsub() for risnull() input.
Since commit 757fb0e5a9a61ac8d3a67e334faeea6dc0084b3f, these Informix-compat functions return 0 without changing the output parameter. Initialize the output parameter before the test call, making that obvious. Before this, the expected test output has been depending on freed stack memory. "gcc -ftrivial-auto-var-init=pattern" revealed that. Back-patch to v13 (all supported versions). Discussion: https://postgr.es/m/20250106192748.cf.nmisch@google.com
Diffstat (limited to 'src/bin/scripts/createuser.c')
0 files changed, 0 insertions, 0 deletions