Index: src/mem5.c ================================================================== --- src/mem5.c +++ src/mem5.c @@ -21,11 +21,11 @@ ** be changed. ** ** This version of the memory allocation subsystem is included ** in the build only if SQLITE_ENABLE_MEMSYS5 is defined. ** -** $Id: mem5.c,v 1.15 2008/10/28 18:58:20 drh Exp $ +** $Id: mem5.c,v 1.16 2008/11/13 16:21:50 danielk1977 Exp $ */ #include "sqliteInt.h" /* ** This version of the memory allocator is used only when @@ -211,11 +211,10 @@ if( nByte>mem5.maxRequest ){ mem5.maxRequest = nByte; } /* Round nByte up to the next valid power of two */ - if( nByte>POW2_MAX ) return 0; for(iFullSz=mem5.nAtom, iLogsize=0; iFullSz