suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    das ultimative Tool für Informix

    pfeil  
Neueste VersionenFixList
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

Informix - Problembeschreibung

Problem IT27165 Status: Geschlossen

NOT WAITING ON A LOCK WITH COLLECTION SUBQUERY AND PARENT QUERY'S WHERE
CLAUSE ALLOWING MULTIPLE VALUES

Produkt:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problembeschreibung:
With LOCK MODE WAIT, a query involving a correlated Collection
Subquery would wait on locked row if querying using equal sign
on exactly  one value in main table, yet ignore the lock waiting
if multiple values allowed.


Consider following case:

create table t2 (c1 integer --primary key
 ) extent size 8 lock mode row;
insert into t1 values (1);
insert into t1 values (2);
create table t1 (c1 integer --primary key
 ) extent size 8 lock mode row;
insert into t2 values (1);
insert into t2 values (2);


Now open a transaction and remove t1's second row:

begin work;
delete from t1 where c1=2;


In parallel session now try:

set lock mode to wait 4;
set isolation to committed read;

select (select c1 from t2 where c1=t1.c1) a, * from t1 where
t1.c1 = 2;

select (select c1 from t2 where c1=t1.c1) a, * from t1 where
t1.c1 in (1,2);
select (select c1 from t2 where c1=t1.c1) a, * from t1 where
t1.c1 = 1 or t1.c1 = 2;
select (select c1 from t2 where c1=t1.c1) a, * from t1 where
t1.c1 = 1 or t1.c1 = 1;
select (select c1 from t2 where c1=t1.c1) a, * from t1 where
t1.c1
Problem-Zusammenfassung:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS prior to 12.10.xC13.                            *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* Not waiting on a lock with collection subquery and parent    *
* query's WHERE clause allowing multiple values.               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local-Fix:
Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
03.12.2018
26.09.2019
26.09.2019
Problem behoben ab folgender Versionen (IBM BugInfos)
12.10.xC13
Problem behoben lt. FixList in der Version
Informix EditionenInformix Editionen
Informix Editionen
DokumentationDokumentation
Dokumentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download