SQLite Forum

Timeline
Login

1 forum post by user SicSten

2021-05-11
15:50 Post: Place in the code where can understand that the file was created (artifact: d12a5b00a5 user: SicSten)
Hello!
Tell me, in which line of the source code of the sqlite3.c file, you can clearly understand that a new database file has been created 
int res = sqlite3_open_v2(
        “D:\\MyNewDB.db”,   /* Database filename (UTF-8) */
        &db_handle,         /* OUT: SQLite db handle */
        SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE|SQLITE_OPEN_FULLMUTEX,   /* Flags */
        NULL        /* Name of VFS module to use */
    );
Prompt the line number or a piece of code from sqlite3.c where i can clearly understand that the non-existent file “D:\\MyNewDB.db” was created.

And if the database was created it was also clear