COMMIT statement that was occasionally inserted after DROP DATABASE prevents 
ISQL from executing code that follows after this (useless) COMMIT.
-----------------------------------------------------------------------------------------------------------------------------------------------

                 Key: CORE-5272
                 URL: http://tracker.firebirdsql.org/browse/CORE-5272
             Project: Firebird Core
          Issue Type: Bug
          Components: ISQL
    Affects Versions: 3.0.0, 4.0 Initial, 2.5.5
            Reporter: Pavel Zotov
            Priority: Minor


Run this script:
===
shell del c:\temp\tmp4test1.fdb 2>nul;
shell del c:\temp\tmp4test2.fdb 2>nul;
set bail on;
set list on;
set wng off;
--set echo on;

create database 'localhost:c:\temp\tmp4test1.fdb' user 'sysdba' password 
'masterke';
select mon$database_name from mon$database;
commit;
drop database;

-- commit; ------------------ [ A ]

create database 'localhost:c:\temp\tmp4test2.fdb' user 'sysdba' password 
'masterke';
select mon$database_name from mon$database;
commit;
drop database;
===

It's output will be:
===
MON$DATABASE_NAME               C:\TEMP\TMP4TEST1.FDB

MON$DATABASE_NAME               C:\TEMP\TMP4TEST2.FDB
===

Now UNCOMMENT statement 'COMMIT' that is marked as [ A ] and repeat script.
Output will be:
===
MON$DATABASE_NAME               C:\TEMP\TMP4TEST1.FDB
===



-- 
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

        

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to