mirror of https://github.com/vitalif/tdpkg
parent
062ad81d41
commit
360d3064d3
|
@ -177,6 +177,7 @@ tdpkg_cache_finalize (void)
|
|||
if (db)
|
||||
sqlite3_close (db);
|
||||
sqlite3_shutdown ();
|
||||
db = NULL;
|
||||
}
|
||||
|
||||
char*
|
||||
|
|
|
@ -36,7 +36,7 @@ static TCHDB* db = NULL;
|
|||
static int in_transaction = 0;
|
||||
static int is_write = 0;
|
||||
|
||||
#define tc_error(ret) { abort();fprintf (stderr, "tdpkg tokio: %s\n", tchdberrmsg (tchdbecode (db))); return ret; }
|
||||
#define tc_error(ret) { fprintf (stderr, "tdpkg tokio: %s\n", tchdberrmsg (tchdbecode (db))); return ret; }
|
||||
|
||||
static int
|
||||
_tokyo_init (int write)
|
||||
|
|
Loading…
Reference in New Issue