mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-14 00:22:38 +03:00
Enhanced documentation and minor code tweaks in preparation for hardening
the sqlite3_initialize/shutdown interfaces against initialization failures. FossilOrigin-Name: 98c49e6135ae6268a80de88f8b0284f88ef32e1d
This commit is contained in:
@@ -43,7 +43,9 @@ void sqlite3_soft_heap_limit(int n){
|
||||
}else{
|
||||
iLimit = n;
|
||||
}
|
||||
#ifndef SQLITE_OMIT_AUTOINIT
|
||||
sqlite3_initialize();
|
||||
#endif
|
||||
if( iLimit>0 ){
|
||||
sqlite3MemoryAlarm(softHeapLimitEnforcer, 0, iLimit);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user