On Wed, 10 Oct 2007, Joe Wilson wrote:

> --- Andy Spencer <[EMAIL PROTECTED]> wrote:
> > I'm not sure what you mean by database "main", and I did not
> > write the functions.
> 
> The default database name (really more of an alias) is "main". 
> So "SELECT * from foo" and "SELECT * from main.foo" are the same.
> Attached databases are known by the name you've attached them as.
> 

Then, yes, it would be the "main" database, since we do not attach
any other databases.

> > The functions use the pager to access the file descriptors:
> ...
> > int sqlite3pager_get_database_file_fd(Pager *pPager)
> > {
> >     return sqlite3OsFileHandle(pPager->fd);
> 
> Okay, I see. sqlite3OsFileHandle no longer exists.
> But then again, for your purposes it's moot, since FD_CLOEXEC 
> is done for you.

Thanks for the information.
Can you tell me the first sqlite3 version to include this change?


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

Reply via email to