sqlite3* db = NULL;
if (sqlite3_open_v2(path, &db, SQLITE_OPEN_READWRITE, NULL) == SQLITE_CANTOPEN)
{
    // Ok, database does not exist. Still, db != NULL...?
    ASSERT(db != NULL);
}
 
Database cannot be opened, but we get an open handle to it... Please explain!
 
Thanks.                                           
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to