Lines Matching refs:newLimit
38365 i64 newLimit = *(i64*)pArg;
38367 if( newLimit>sqlite3GlobalConfig.mxMmap ){
38368 newLimit = sqlite3GlobalConfig.mxMmap;
38374 if( newLimit>0 && sizeof(size_t)<8 ){
38375 newLimit = (newLimit & 0x7FFFFFFF);
38379 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){
38380 pFile->mmapSizeMax = newLimit;
46071 i64 newLimit = *(i64*)pArg;
46073 if( newLimit>sqlite3GlobalConfig.mxMmap ){
46074 newLimit = sqlite3GlobalConfig.mxMmap;
46080 if( newLimit>0 && sizeof(SIZE_T)<8 ){
46081 newLimit = (newLimit & 0x7FFFFFFF);
46085 if( newLimit>=0 && newLimit!=pFile->mmapSizeMax && pFile->nFetchOut==0 ){
46086 pFile->mmapSizeMax = newLimit;
170047 SQLITE_API int sqlite3_limit(sqlite3 *db, int limitId, int newLimit){
170082 if( newLimit>=0 ){ /* IMP: R-52476-28732 */
170083 if( newLimit>aHardLimit[limitId] ){
170084 newLimit = aHardLimit[limitId]; /* IMP: R-51463-25634 */
170085 }else if( newLimit<1 && limitId==SQLITE_LIMIT_LENGTH ){
170086 newLimit = 1;
170088 db->aLimit[limitId] = newLimit;