Informix - Problem description
Problem IT31499 | Status: Closed |
EXECUTING AN EXPRESSION WITH SUBQUERY IN AN UPDATE TRIGGER ON LBAC TABLE CAUSES -768 MISSING LBACENFORCE | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
When an update statement is run on a LBAC table where on the table is an update trigger defined which is executing an expression with subqueries in the way : create trigger "informix".tu_auftrag_kopfdaten_tv update of a_termin_von, a_termin_bis on "informix".ta_auftrag_kopfdaten referencing old as old new as new for each row when ((((new.a_ccb_activity_id IS NOT NULL ) AND ((NVL (new.a_termin_von ,CURRENT year to fraction(3) )!= NVL (old.a_termin_von ,CURRENT year to fraction(3) )) OR (NVL (new.a_termin_bis ,CURRENT year to fraction(3) )!= NVL (old.a_termin_bis ,CURRENT year to fraction(3) )) ) ) AND NOT EXISTS (select 1 from "informix".ta_kauf_zu_person_sec x0 where ((x0.a_auftrag_id = new.a_auftrag_id ) AND (x0.a_person_typ_kb = 'WSP' ) ) ) ) ) ( .... ); , the update returns update ta_auftrag_kopfdaten set a_termin_von = current where a_auftrag_id = 203730275; 768: Internal error in routine lbac_enforce_placement: missing LBACEnforceRow predicate. with the stack : 0x000000000142e819 (oninit) afstack 0x00000000014317f1 (oninit) afhandler 0x0000000001431fd2 (oninit) affail_interface 0x0000000000e31677 (oninit) check_traperror 0x0000000000729081 (oninit) sqerr 0x00000000007294ee (oninit) sqerr1 0x00000000008f6c6e (oninit) addfilters 0x00000000007d9993 (oninit) bldnode 0x00000000007d9f6f (oninit) opbldtree 0x00000000007f51d5 (oninit) sqoptim 0x000000000096766e (oninit) optsubq 0x0000000000972b66 (oninit) oplooksubq 0x00000000009728f4 (oninit) oplooksubq 0x0000000000972909 (oninit) oplooksubq 0x00000000008c8bbb (oninit) dotrigs 0x00000000008c91e0 (oninit) ferafttrig 0x00000000008be5be (oninit) dodmlrow 0x00000000008bfea0 (oninit) dodelupd 0x00000000005fd5e3 (oninit) excommand 0x0000000000a4d06c (oninit) sq_execute 0x0000000000b0b641 (oninit) sqmain 0x000000000155d1ab (oninit) spawn_thread 0x0000000001420130 (oninit) th_init_initgls | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC14 and 14.10.xC4. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to Informix Server 12.10.xC14 or 14.10.xC4 (when * * available). * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC14 and 14.10.xC4. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to Informix Server 12.10.xC14 or 14.10.xC4 (when * * available). * **************************************************************** | |
Comment | |
Fixed in Informix Server 12.10.xC14 and 14.10.xC4. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.01.2020 28.02.2020 28.02.2020 |
Problem solved at the following versions (IBM BugInfos) | |
12.10.xC14, 14.10.xC4 | |
Problem solved according to the fixlist(s) of the following version(s) |