MCPcopy Create free account
hub / github.com/audacity/audacity / close_db

Function close_db

lib-src/sqlite/shell.c:14840–14846  ·  view source on GitHub ↗

** Attempt to close the databaes connection. Report errors. */

Source from the content-addressed store, hash-verified

14838** Attempt to close the databaes connection. Report errors.
14839*/
14840void close_db(sqlite3 *db){
14841 int rc = sqlite3_close(db);
14842 if( rc ){
14843 utf8_printf(stderr, "Error: sqlite3_close() returns %d: %s\n",
14844 rc, sqlite3_errmsg(db));
14845 }
14846}
14847
14848#if HAVE_READLINE || HAVE_EDITLINE
14849/*

Callers 4

tryToCloneFunction · 0.85
arDotCommandFunction · 0.85
do_meta_commandFunction · 0.85
wmainFunction · 0.85

Calls 1

utf8_printfFunction · 0.85

Tested by

no test coverage detected