mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Adjust the winMemInit return code handling used when resetting the Win32 native heap.
FossilOrigin-Name: 37853665e75fc92b4d15e6db0b3346722527e799
This commit is contained in:
@@ -1153,8 +1153,7 @@ int sqlite3_win32_reset_heap(){
|
||||
** isolated Win32 native heap now.
|
||||
*/
|
||||
winMemShutdown(winMemGetDataPtr());
|
||||
winMemInit(winMemGetDataPtr());
|
||||
rc = SQLITE_OK;
|
||||
rc = winMemInit(winMemGetDataPtr());
|
||||
}else{
|
||||
/*
|
||||
** The Win32 native heap cannot be modified because it may be in use.
|
||||
|
||||
Reference in New Issue
Block a user