From: <meg...@ya...> - 2004-02-04 13:38:38
|
Hello: So, the bottom line is that I can't execute FbBackup and FbRestore, before waiting for 10 seconds, irrespective of whether I make a call to FbConfiguration or not. Isn't? Also, even I try to call gbak.exe from my code(I tried to do that as well) after making a query and then nullifying everything, I can't do it, as there can be some connections still alive. In my application, I do pooling=true, but the connection string doesn't changes for a session, or we can say that all the connections to the dbfile have same connection string at any particular point of time. Can u think of some work around I can apply in 1.5? Thanx. Mahesh. > > Then I tried a'ain with pooling as true, but make a Thread.Sleep(6000), >> before using FbConfiguration.DatabaseShutdown(FbShutdownMode.Forced,0) >The problem here is that 1.5 has a single pool for all connections, and >a cleanup thread that runs at every 10 seconds this will work in >different way in 1.6, that will have a single pool for each different > connection string ( and a single clean up thread based on the >connection lifetime specified in the connection string ). >-- > Best regards >Carlos Guzmán Álvarez > Vigo-Spain --------------------------------- BT Yahoo! Broadband - Free modem offer, sign up online today and save £80 |