Store DB name in driver

This commit is contained in:
Alexey Romanov
2014-10-13 10:18:49 +04:00
parent 93b50dc058
commit 35554f7cb1
2 changed files with 9 additions and 6 deletions

View File

@@ -64,6 +64,7 @@ typedef struct sqlite3_drv_t {
ErlDrvPort port;
unsigned int key;
struct sqlite3 *db;
char* db_name;
long async_handle;
FILE *log;
sqlite3_stmt **prepared_stmts;