IBM Support

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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error 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.
    

Local fix

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.         *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.xC10.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT42883

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-01-11

  • Closed date

    2023-05-15

  • Last modified date

    2023-05-15

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 May 2023