[FB-Tracker] Created: (DNET-702) The database file cannot be released immediately when disconnected

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[FB-Tracker] Created: (DNET-702) The database file cannot be released immediately when disconnected

JIRA tracker@firebirdsql.org
The database file cannot be released immediately when disconnected
------------------------------------------------------------------

                 Key: DNET-702
                 URL: http://tracker.firebirdsql.org/browse/DNET-702
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 5.1.1.0
         Environment: Firebird 3.0.0/3.0.1/2.5.5, Windows 10, x64
            Reporter: fish
            Assignee: Jiri Cincura


using (FbConnection fbconn = new FbConnection("Database=F:\\fb[30|25].gdb;User ID=SYSDBA;Password=masterkey;Pooling=False"))
{
    fbconn.Open();
    fbconn.Close();
    FbConnection.ClearAllPools();

    File.Delete("F:\\fb30.gdb"); //Failed in FB 3.0.0 and 3.0.1(x64) --> The process cannot access the file 'F:\\fb30.gdb' because it is being used by another process.
    File.Delete("F:\\fb25.gdb"); //Worked in FB 2.5.5(x64)
}

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

       

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider