![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
To change non-logged database to logged database. Anything I need to change in 4gl program ? _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I try compile 4gl program and got error if program contain " DECLARE CURSOR ... FOR UPDATE". |
#5
| |||
| |||
|
|
To change non-logged database to logged database. Anything I need to change in 4gl program ? |
#6
| |||
| |||
|
|
On Thursday, August 9, 2012 9:34:02 AM UTC+2, roger wrote: To change non-logged database to logged database. Anything I need to change in 4gl program ? If I remember correctly, the default isolation level is different between a non logged database and a logged database (dirty read v commited read) Depending how your application currently sets the isolation level, you may need to make some modifications to your application to accomodate this change in behaviour. _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#7
| |||
| |||
|
|
...In the (missing) context of a discussion about what changes are needed in an I4GL program when you switch between an unlogged database and a logged database... On Thu, Aug 9, 2012 at 3:09 AM, roger roger%star2000.com... (AT) gtempaccount (DOT) com> wrote: I try compile 4gl program and got error if program contain " DECLARE CURSOR ... FOR UPDATE". You need to provide more context. Is it a compile-time or a run-time error? You have to be in a transaction, I think, to open a cursor FOR UPDATE with a logged database. However, the system can only detect whether there is a transaction active at run-time, not at compile-time. -- Jonathan Leffler <jonathan.leff... (AT) gmail (DOT) com> #include <disclaimer.h Guardian of DBD::Informix - v2011.0612 -http://dbi.perl.org "Blessed are we who can laugh at ourselves, for we shall never cease to be amused." |
![]() |
| Thread Tools | |
| Display Modes | |
| |