1
0
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:
drh
2009-08-17 13:42:29 +00:00
parent d768f944d9
commit 9ac06509f1
7 changed files with 54 additions and 17 deletions

View File

@@ -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{