home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC70770 Status: Geschlossen

DB2 INSTANCE MAY CRASH WHEN SQL/XML/XQUERY QUERY USES NESTED LET/FOR.

Produkt:
DB2 FOR LUW / DB2FORLUW / 910 - DB2
Problembeschreibung:
When a SQL/XML or XQuery query uses nested LET/FOR, it may cause 
the db2 instance crash. 
The stack trace looks like: 
ossDumpStackTrace 
OSSTrapFile 
sqlo_trce 
sqloEDUCodeTrapHandler 
sqlnq_qun::correlation_fromqun 
sqlnr_clusterQunsFindCluster 
sqlnr_clusterQuns 
sqlnr_optprepP9sqlnq_qur 
 
The example query is: 
 
create table T( i int, data xml); 
 
XQUERY 
let $b := db2-fn:xmlcolumn('T.DATA')/a 
let $bp := db2-fn:xmlcolumn('T.DATA')/p 
for $o in  $b/o 
let $one := $b[o = $o] 
return 
   <List> 
   { 
      for $aList in $bp[o = $one/o] 
       return 
        <m><a>{$aList/a/text()}</a></m> 
   } 
   </List> 
; 
 
This problem does not exists on later DB2 version, V9.5 or 
later.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 UDB Version 9.1                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error description field for more information.            * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 9.1 FixPack 10.                           * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
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

Lösung
Problem was first fixed in DB2 UDB Version 9.1 FixPack 10.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
25.08.2010
14.06.2011
14.06.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.1.FP10
Problem behoben lt. FixList in der Version
9.1.0.10 FixList