diff options
author | Noah Misch <noah@leadboat.com> | 2025-01-25 11:28:14 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2025-01-25 11:28:18 -0800 |
commit | 3637905c3cdfea95feda901ce570a077964c8d94 (patch) | |
tree | aefffe724e5ffe553b6c15eddefe6ae4a6db5592 /src/backend/executor/nodeHashjoin.c | |
parent | 76601c0c885aca203966d8f6f6d6683726a0823b (diff) |
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/backend/executor/nodeHashjoin.c')
0 files changed, 0 insertions, 0 deletions