suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT27545 Status: Closed

WRONG NUMBER OF TOTAL INSERTED/UPDATED ROW COUNT RETURNED WHEN AN
INSERT/UPDATE IS MADE ON A TABLE THAT USES A TRIGGER

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
When a row is inserted/updated on a Secondary Server on a table
that uses a trigger to insert/update on another table the
operation works successfully but number of rows returned is
wrong.

For example, if an insert of just one row is made on Primary
server, it returns the correct number of rows :

$ dbaccess ts128026db count_rows.sql

Database selected.

         empenio

               1

1 row(s) retrieved.

      movimiento

               1

1 row(s) retrieved.

Database closed.

But if same insert of just one row is made on an updatable
secondary it returns ;

dbaccess ts128026db insert_dsd.sql

Database selected.

0 row(s) inserted.

Database closed.

However, the operation was successful and the two tables have
correct number of rows but the SQL returns a wrong number of
rows processed.

The number of rows returned are used by applications so they are
behaving in a wrong way when they are executed against a
secondary server.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of IDS 12.10.xC11 and older versions.                  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* Wrong number of total inserted/updated row count returned    *
* when an insert/update is made on a updatable secondary       *
* server on a table that uses a trigger.                       *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
26.12.2018
07.10.2019
07.10.2019
Problem solved at the following versions (IBM BugInfos)
12.10.xC12
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
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