Made "GetPage is stuck!" less obtrusive.

This commit is contained in:
Sears Russell 2006-10-04 04:39:58 +00:00
parent 2903e48e71
commit 6bb126debf

View file

@ -262,7 +262,7 @@ static Page * getPage(int pageid, int locktype) {
#endif #endif
} }
spin++; spin++;
if(spin > 10000) { if(spin > 10000 && !(spin % 10000)) {
printf("GetPage is stuck!"); printf("GetPage is stuck!");
} }
} }