I don't understand what is going on. I thought that when you connected to the database dummy.db file through TZConnection tool, you always stayed connected until you disconnected from it. However, no matter what I do once I connect to a database file, it remains connected even though I call disconnect procedure of TZConnection. Thus, it never releases the database file dummy.db until I shutdown the program. Am I missing something?
ZConnection1.Database := 'dummy.db';
ZConnection1.Protocol := 'SQLite-3';
ZConnection1.Connect;
Query1.SQL.TEXT := 'SELECT * FROM test'; (Query1 connection is ZConnection1)
Query1.ExeSQL;
ZConnection1.Disconnect;
But disconnect never releases the dummy.db file. I need to be able to do that for my program... Any hints or clues will be greatly appreciated. Thanks.
Zeoslib doesn't release the Database file after disconnect.
Moderators: gto, cipto_kh, EgonHugeist
-
- Fresh Boarder
- Posts: 3
- Joined: 10.11.2014, 20:44
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Re: Zeoslib doesn't release the Database file after disconne
Hi,
yes this WAS true. Which version of Zeos are you using for?
Note this issue should be fixed in 7.1.4 or better 7.2-Beta
yes this WAS true. Which version of Zeos are you using for?
Note this issue should be fixed in 7.1.4 or better 7.2-Beta
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
-
- Fresh Boarder
- Posts: 3
- Joined: 10.11.2014, 20:44
Re: Zeoslib doesn't release the Database file after disconne
Hello, Thank you for your reply.
I am using 7.1.2 STABLE release.
Is there a latest version that works?
I am using 7.1.2 STABLE release.
Is there a latest version that works?
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Re: Zeoslib doesn't release the Database file after disconne
Of yourse! As i wrote: 7.1.4-stable and (prefered) 7.2-Beta
Best regards, Michael
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/
You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/