Subject | Re: [firebird-support] Embedded Firebird unload delay |
---|---|
Author | Mr. John |
Post date | 2015-08-31T06:05:52Z |
is that a bug?
From: "'Mr. John' ionut_ykm@... [firebird-support]" <firebird-support@yahoogroups.com>
To: Firebird Support <firebird-support@yahoogroups.com>
Sent: Thursday, August 27, 2015 4:58 PM
Subject: [firebird-support] Embedded Firebird unload delay
Hi,
I use FB embedded version for a little local db,Firebird-2.5.4.268560_Win32 on W 8.1 x86 with Visual Basic 2012
FirebirdClient 4.7 (latest version)
I run this simple code and when I close it,application closes but IDE still show "...Running" for couple seconds (up to 5)
If I change ServerType=1(embedded) to ServerType=0 (SS) all works fine,IDE ends running mode instantly
I think it is a problem with embedded version,not .NET connector,also found this:
an this is a video for the test I've done
this is the code
Dim connectionString As String
connectionString = "User=SYSDBA;" + _
"Password=masterkey;" + _
"DataSource=localhost;" + _
"Dialect=3;" + _
"Port=3050;" + _
"Charset=NONE;" + _
"Role=;" + _
"Connection lifetime=15;" + _
"Pooling=true;" + _
"MinPoolSize=0;" + _
"MaxPoolSize=50;" + _
"Packet Size=8192;" + _
"ServerType=1;" + _
"Database=" + "c:\Program Files\Firebird\Firebird_2_5\examples\empbuild\EMPLOYEE.FDB"
Dim myConnection1 = New FbConnection(connectionString)
myConnection1.Open()
myConnection1.Close()
I've disabled antivirus,firewall,tested on another machine:the same thing
Thanks.