Sqlite creates an empty DB if your pathname does not point to one.
Sqlite just passes the pathname you use in the sqlite3_open call to the
underlying OS API.
PokerAce wrote:
I thought of that. I did a search of my harddrive and it resulted in no
duplicate files. In my code, I check if the
I guess I should've stepped through again. Since having the initial
problem, I added addition code, one of which caused the filename to be an
empty string just prior to calling the function. It's working now. Sorry
about that and thanks for the help.
On 8/21/07, PokerAce <[EMAIL PROTECTED]>
I thought of that. I did a search of my harddrive and it resulted in no
duplicate files. In my code, I check if the file exists before trying to
open it. Also, I debugged the application stepping through it line by line
and the directory path is fine. Is there a problem in SQLite 3.4.2 with
PokerAce wrote:
I'm using SQLite version 3.4.2 and for some reason, I cannot read from any
SQLite databases.
Josh,
Usually this symptom means that the Browser and your application are not
looking at the same file.
Check paths and that sort of thing.
HTH,
Gerry
PokerAce wrote:
I'm using SQLite version 3.4.2 and for some reason, I cannot read from any
SQLite databases.
When I create the database, all the create and insert statements execute
with no problems, and by using SQLite Database Browser, I can see that the
tables are there and that they are
I'm using SQLite version 3.4.2 and for some reason, I cannot read from any
SQLite databases.
When I create the database, all the create and insert statements execute
with no problems, and by using SQLite Database Browser, I can see that the
tables are there and that they are populated. However,
6 matches
Mail list logo