Skip to content

For select statement can not see any changes made in DO block #7713

@BobyBel77

Description

@BobyBel77

There are many changes started from In Firebird 3.0.
One of them is "PSQL Cursor Stabilization". This is basic functionality and now for stability statement cannot see it's own changes.

I have 5 different cases with insert record in do block with different visibility in for cycle:

  1. for select ... from ... into - do not see any changes
  2. for execute statement 'select ... from ... ' into - see changes
  3. If create view (select from ...) and after that use created view - see changes
  4. If use cursor - open, fetch, ... see any changes
  5. If create stored procedure with suspend evry row from select - do not see changes

You can find the SQLS:
01 - create tables, view, SP, trigger and data.
02 - 5 samples of the different cases

Regards,
Boris Belchev

01. CREATE_DB_TABLES.txt
02. TESTS.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions