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 IT28301 Status: Geschlossen

ONMODE -I 746 WILL NOT DETECT A RAISED EXCEPTION -746 INSIDE A SPL CALLED
FROM A TRIGGER ACTION.

Produkt:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problembeschreibung:
onmode -I 746 will not detect a raised exception -746 inside a
SPL called from a trigger action.

Repro.

set onmode -I 746

create procedure trigaction(p_id int, p_val int,p_switch
integer);

  if (p_switch = 0) then
    raise exception -746,0,"Value not allowed";
  end if
end procedure;


create table sgtest
(
  id serial,
  val integer not null,
  switch integer
) ;


create trigger ins_sgtest insert on sgtest
referencing new as neu for each row
        (
        execute procedure trigaction(neu.id, neu.val,neu.switch)
 );

Then insert to raise the error.

insert into sgtest values (1, null, 0);

It'll give the -746 error but no AF will be generated.
Problem-Zusammenfassung:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS prior to 12.10.xC13.                            *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* onmode -I 746 will not detect a raised exception -746 inside *
* a SPL called from a trigger action.                          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local-Fix:
Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
05.03.2019
24.09.2019
24.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