Fixes are available
DB2 Version 9.1 Fix Pack 4a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 3 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 4 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 7 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 5 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 2a - interim special build 2a
DB2 Version 9.1 Fix Pack 6 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 3a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 6a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 7a for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 8 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 9 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 10 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 11 for Linux, UNIX and Windows
DB2 Version 9.1 Fix Pack 12 for Linux, UNIX and Windows
APAR status
Closed as program error.
Error description
The ON clause predicate is incorrectly applied as a filtering predicate in OUTER JOIN or MERGE operations when the predicate is composed of only one of the following references: - correlated columns - constants - host variables or special registers The following examples show queries that can be affected by this problem: select distinct 1 from (values 1) as dummy(c1) left join t on 2=1 ; select * from s, lateral(select * from r left join t on s.c1=2) ; select case when exists (select 1 from (values 1) as dummy(c1) left join t on s.c1=1) then 'correct' else 'wrong' end from s ; select case when exists (select 1 from (values 1) as dummy(c1) left join t on s.c1=s.c2) then 'correct' else 'wrong' end from s ;
Local fix
Problem summary
Users affected: Users of DB2 LUW 9 Problem Summary: The ON clause predicate is incorrectly applied as a filtering predicate in OUTER JOIN or MERGE operations when the predicate is composed of only one of the following references: - correlated columns - constants - host variables or special registers The following examples show queries that can be affected by this problem: select distinct 1 from (values 1) as dummy(c1) left join t on 2=1 ; select * from s, lateral(select * from r left join t on s.c1=2) ; select case when exists (select 1 from (values 1) as dummy(c1) left join t on s.c1=1) then 'correct' else 'wrong' end from s ; select case when exists (select 1 from (values 1) as dummy(c1) left join t on s.c1=s.c2) then 'correct' else 'wrong' end from s ;
Problem conclusion
DEFECT=wsdbu00176179 CSD>c070305 MODULE=engn_sqnr First fixed in DB2 UDB Version 9, Fixpak 3
Temporary fix
Comments
APAR Information
APAR number
JR25882
Reported component name
DB2 UDB EXE WIN
Reported component ID
5724E4901
Reported release
910
Status
CLOSED PER
PE
NoPE
HIPER
YesHIPER
Special Attention
NoSpecatt
Submitted date
2007-02-16
Closed date
2007-08-16
Last modified date
2007-08-16
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
DB2 UDB EXE WIN
Fixed component ID
5724E4901
Applicable component levels
Document Information
Modified date:
07 January 2022