1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Enhance the sqlite3_load_extension() interface to permit extensions to

return SQLITE_OK_LOAD_PERMANENTLY which will prevent the extensions from
unloading when the database connection closes.

FossilOrigin-Name: d3f99a5e8d0486d0917dfe96987c179a6f63b850
This commit is contained in:
drh
2016-05-28 17:23:08 +00:00
parent 444c445ff8
commit c1502e2f4f
5 changed files with 18 additions and 11 deletions

View File

@ -815,5 +815,6 @@ int sqlite3_vfsstat_init(
if( rc==SQLITE_OK ){
rc = sqlite3_auto_extension((void(*)(void))vstatRegister);
}
if( rc==SQLITE_OK ) rc = SQLITE_OK_LOAD_PERMANENTLY;
return rc;
}