Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Peter Whittleton — — source: Informix-list mailing list archive (1991-1998)
Hi all
Anyone used SET TRANSACTION (or SET ISOLATION LEVEL) to change the
isolation level of a transaction? The docs state that '... after
a COMMIT WORK statement completes the transaction or a ROLLBACK WORK
statement cancels the transaction, the isolation level is reset to
the default.'
This doesn't seem to be happening.
For example ...
- my default isolation is committed read
- from dbaccess I run:
begin work;
set transaction isolation level repeatable read;
select count(*) from tbl_name; commit work;
- onstat -g sql shows iso lvl as RR (repeatable read), so the commit
has *not* reset to the default.
Anyone seen this behaviour before. Are the docs wrong, or is this
a 7.12 bug.
TIA
Peter Whittleton (whittle@ssax.com)
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.