On Thu, Feb 17, 2011 at 10:01 AM, Sven L <larvpo...@hotmail.se> wrote:
> > 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! > The handle returned so that you can call sqlite3_errmsg(db). > > Thanks. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users