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

Function sqlite3_sqlar_init

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

Source from the content-addressed store, hash-verified

8180
8181#endif
8182int sqlite3_sqlar_init(
8183 sqlite3 *db,
8184 char **pzErrMsg,
8185 const sqlite3_api_routines *pApi
8186){
8187 int rc = SQLITE_OK;
8188 SQLITE_EXTENSION_INIT2(pApi);
8189 (void)pzErrMsg; /* Unused parameter */
8190 rc = sqlite3_create_function(db, "sqlar_compress", 1,
8191 SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
8192 sqlarCompressFunc, 0, 0);
8193 if( rc==SQLITE_OK ){
8194 rc = sqlite3_create_function(db, "sqlar_uncompress", 2,
8195 SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
8196 sqlarUncompressFunc, 0, 0);
8197 }
8198 return rc;
8199}
8200
8201/************************* End ../ext/misc/sqlar.c ********************/
8202#endif

Callers 2

open_dbFunction · 0.85
arDotCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected