1
0
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:
mistachkin
2013-11-08 18:52:45 +00:00
parent 17bc3ff956
commit 2eb0966ef2
3 changed files with 8 additions and 9 deletions

View File

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