1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Add the SQLITE_EXTRA_INIT macro.

FossilOrigin-Name: a3220f36c164dd2edf085c07ea08d617d8438812
This commit is contained in:
drh
2011-08-25 00:14:41 +00:00
parent 2d1017e47f
commit e4cf0b3106
3 changed files with 17 additions and 7 deletions

View File

@@ -234,6 +234,16 @@ int sqlite3_initialize(void){
#endif
#endif
/* Do extra initialization steps requested by the SQLITE_EXTRA_INIT
** compile-time option.
*/
#ifdef SQLITE_EXTRA_INIT
if( rc==SQLITE_OK && sqlite3GlobalConfig.isInit ){
int SQLITE_EXTRA_INIT(void);
rc = SQLITE_EXTRA_INIT();
}
#endif
return rc;
}