Unix Technical Forum

RE: Strange behaviour of FOREACH (INFORMIX-4GL Version

This is a discussion on RE: Strange behaviour of FOREACH (INFORMIX-4GL Version within the Informix forums, part of the Database Server Software category; --> No, this is not a bug, but most likely caused by the dirty read isolation. Remember that dirty read ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 09:16 AM
R.A. Reissaus
 
Posts: n/a
Default RE: Strange behaviour of FOREACH (INFORMIX-4GL Version


No, this is not a bug, but most likely caused by the dirty read isolation.
Remember that dirty read casues the cursor or select to return EVERY ROW
that there, including the one that are (partially) entered, deleted, update
and not rolled back or committed.

------------------------------------------------------------------------
R.A. Reissaus
Risdi, Amsterdam, the Netherlands
Ibm/Informix Consultants
Telefoon: +31(0)20 6331140 : Phone
Mobiel : +31(0)6 51185352 : Mobile
E-mail : r.a.reissaus@risdi.com
Website : www.risdi.com
------------------------------------------------------------------------
Disclaimer:
`Externe E-Mail wordt door partijen niet gebruikt voor het aangaan van
verplichtingen`

`Any e-mail messages from sending parties named in this e-mail are given
in good faith but shall not be binding nor shall they be construed as
constituting any obligation on the part of any such party.`
------------------------------------------------------------------------



-----Oorspronkelijk bericht-----
Van: owner-informix-list@iiug.org [mailtowner-informix-list@iiug.org]
Namens scottishpoet
Verzonden: woensdag 28 september 2005 11:24
Aan: informix-list@iiug.org
Onderwerp: Re: Strange behaviour of FOREACH (INFORMIX-4GL Version
7.30.HC4P1)


ravi,

it may be a bug in the server, 9.30.HC2 is now obsolete

get your engine onto 9.40 or 10 and see if the problem still reproduces.



Ravi wrote:
> Hi All,
>
> We are facing a very strange issue while using FOREACH. The
> environment is as follows:
>
> HP-UX 11.11
> Informix 4GL 7.30.HC4P1
> Informix Dynamic Server Version 9.30.HC2
>
> 4GL program is opening a cursor on table 'tab1' with certain
> conditions in the where clause. When a FOREACH is applied to traverse
> through this cursor, it is not returning all the rows which satisfy
> the conditions. Due to this, the output of the program is not as
> expected. The behaviour is also not consistent as sometimes it gives
> 'x' number of records less and sometimes it gives 'y' number of
> records less.
>
> Please note:
> (1) The cursor declared is a plain cursor and not scroll cursor and
> without any WITH HOLD clause.
> (2) The isolation is set to dirty read before opening the cursor.
>
> Kindly let us know if there is any resolution to this issue. Is this
> some kind of bug in Informix 4GL tool for the version mentioned above.
>
> Thanks.
>
> Regards,
> Ravi.

sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:51 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com