ISQL does not destroy the SQL statement
---------------------------------------

                 Key: CORE-4321
                 URL: http://tracker.firebirdsql.org/browse/CORE-4321
             Project: Firebird Core
          Issue Type: Bug
          Components: ISQL
         Environment: Firebird 3.0.0.30854, isql
            Reporter: Simonov Denis


SQL> connect 'localhost:test' user 'sysdba' password 'masterkey';
Database:  'localhost:test', User: sysdba
SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select count(*) from mon$statements;

                COUNT
=====================
                    5

SQL> commit;
SQL> select count(*) from mon$statements;

                COUNT
=====================
                    6

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select 1 from rdb$database;

    CONSTANT
============
           1

SQL> select count(*) from mon$statements;

                COUNT
=====================
                    6

SQL> commit;
SQL> select count(*) from mon$statements;

                COUNT
=====================
                   12

SQL>

In Firebird 2.5 query returns always the same value

select count(*) from mon$statements;
                COUNT
=====================
                   1


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to