Project

General

Profile

0001-Prevent-infinite-loop.patch

Yoann VANDOORSELAERE, 08/02/2010 06:38 PM

Download (1005 Bytes)

View differences:

src/bufpool.c
224 224

  
225 225
        while ( get_total_mem() + len >= on_disk_threshold ) {
226 226
                evicted = evict_from_memory();
227
                if ( evicted == bp )
227
                if ( evicted == NULL || evicted == bp )
228 228
                        break;
229 229
        }
230 230

  
231
-