home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT42883 Status: Closed

LBAC: ANSI JOIN WITH A TRIM ON BOTH SIDES ON THE ON CLAUSE EXECUTED AS
HASH RETURN UNEXPECTED RESULTSETS

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
When a ANSI JOIN in a query used a trim on both sides on the ON
clause
and one of the tables uses LBAC and for the join a hash is used
e.g in the following query

select t1.col1

from tab1 t1
left  join tab2 t2 on  tab1.col1 = t2.col1  and t2.col2 = 'KUN'
left join tab3 t3 on
-- problematic
TRIM(t1.col3)=TRIM(t3.col3)
-- fine
--t1.col3=t3.col3
where t1.col1 IN (710896876 )

the result set may vary.


col1
   710896876
1 row(s) retrieved.

or

col1
No rows found.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC16 or 14.10.xC10.         *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC16 or 14.10.xC10.         *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC16 and 14.10.xC10.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
11.01.2023
15.05.2023
15.05.2023
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)