you can check if some table of your db exits. The file generated is empty.
[]'s
Victor
Dennis Jenkins <[EMAIL PROTECTED]> escreveu:
Robert Simpson wrote:
> um ... It's a file. You just check to see if the file exists. No
> sqlite calls involved.
>
> Robert
>
That would work in this situation, but what about the inverse? You only
want to open the file IF it already exists.
There is a race condition: where you check for the file, don't find it,
and then try to open the database, and in the mean time, a different
process/thread has done the same?
I do not need this yes, but I can imagine situations where an atomic
"create new database ONLY" would be very nice.
"Só existem 10 tipos de pessoas, as que sabem e as que não sabem binário."
---------------------------------
Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora!