Re: Re: [sqlite] Detached database still owned by process

2006-11-29 Thread Anders Holmberg

Thanks for the responses.

The ProcessExplorer was just the thing I needed! With it I can see
that sqlite _does_ release the file handle and that my program must
hold on to it in another way sometimes. Now I have to find that
sometime;)

Thanks again...

/Anders

-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] Detached database still owned by process

2006-11-29 Thread Anders Holmberg

Hi

I am using sqlite (version 3.3.7) on Windows and I am loading one database
(stored in a file) into another database (:memory:) using the attach /
detatch scheme described on the sqlite site.

My problem is that sqlite keeps hanging on to the first database even after
I have made a detach; which makes it impossible for me (or my program) to
delete the original file.

Is there something more I need to do make sqlite "forget" about the file?

Anders Holmberg