IBM Support

IC77143: AN UPDATE QUERY ON A UNION ALL VIEW WITH TABLES HAVING TRIGGERS MAY CAUSE INSTANCE TO CRASH.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • An update query may cause database to crash if the following
    conditions are met.
    
    1. The update is on a UNION ALL view.
    2. The underlying tables have triggers or other constraints
    defined on them.
    
    The result is a memory corruption with the following call stack:
    
    0        sqlnq_qnc::refetch
    1        sqlnr_optprep
    2        sqlnr_optprep_action
    3        sqlnr_comp
    4        sqlnr_seq
    5        sqlnr_rcc
    6        sqlnr_exe
    7        sqlnn_cmpl
    8        sqlnn_cmpl
    9        sqlra_compile_var
    10       sqlra_find_var
    11       sqlra_get_var
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See problem description                                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to DB2 970 fix pack 5                         *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 970 fix pack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC77143

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-23

  • Closed date

    2012-02-27

  • Last modified date

    2012-02-27

  • APAR is sysrouted FROM one or more of the following:

    IV02312

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC77143

Modified date: 27 February 2012