Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-23 Thread Joe Wilson
--- [EMAIL PROTECTED] wrote: > Joe Wilson <[EMAIL PROTECTED]> wrote: > > --- [EMAIL PROTECTED] wrote: > > > Ran <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > > > > > I *think* that sqlite3_close behave strangly. > > > > > > > > I use version 3.3.7 on Linux (Fedora Core 5). > > > > > > > > W

Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-23 Thread drh
Joe Wilson <[EMAIL PROTECTED]> wrote: > --- [EMAIL PROTECTED] wrote: > > Ran <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I *think* that sqlite3_close behave strangly. > > > > > > I use version 3.3.7 on Linux (Fedora Core 5). > > > > > > What I do is to open a database, and start a trans

Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-23 Thread Joe Wilson
--- Joe Wilson <[EMAIL PROTECTED]> wrote: > --- [EMAIL PROTECTED] wrote: > > Ran <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > > > > I *think* that sqlite3_close behave strangly. > > > > > > I use version 3.3.7 on Linux (Fedora Core 5). > > > > > > What I do is to open a database, and start a t

Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-23 Thread Joe Wilson
--- [EMAIL PROTECTED] wrote: > Ran <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I *think* that sqlite3_close behave strangly. > > > > I use version 3.3.7 on Linux (Fedora Core 5). > > > > What I do is to open a database, and start a transaction in it. Then, > > without ending the transaction,

Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-23 Thread drh
Ran <[EMAIL PROTECTED]> wrote: > Hi all, > > I *think* that sqlite3_close behave strangly. > > I use version 3.3.7 on Linux (Fedora Core 5). > > What I do is to open a database, and start a transaction in it. Then, > without ending the transaction, open again the database and simply close it. >

Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-23 Thread Ran
I filed the bug report as you suggested: #1990. Ran. On 9/23/06, Will Leshner <[EMAIL PROTECTED]> wrote: On 9/22/06, Ran <[EMAIL PROTECTED]> wrote: > What I do is to open a database, and start a transaction in it. Then, > without ending the transaction, open again the database and simply clo

Re: [sqlite] sqlite3_close doesn't release always the file handle.

2006-09-22 Thread Will Leshner
On 9/22/06, Ran <[EMAIL PROTECTED]> wrote: What I do is to open a database, and start a transaction in it. Then, without ending the transaction, open again the database and simply close it. I found out, that the inner sqlite3_close return 0 (SQLITE_OK), but the file handle is not released. So i

[sqlite] sqlite3_close doesn't release always the file handle.

2006-09-22 Thread Ran
Hi all, I *think* that sqlite3_close behave strangly. I use version 3.3.7 on Linux (Fedora Core 5). What I do is to open a database, and start a transaction in it. Then, without ending the transaction, open again the database and simply close it. I found out, that the inner sqlite3_close retur