File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -1460,17 +1460,7 @@ log_write_up_to(
1460
1460
}
1461
1461
1462
1462
loop:
1463
- #ifdef UNIV_DEBUG
1464
- loop_count++;
1465
-
1466
- ut_ad (loop_count < 5 );
1467
-
1468
- # if 0
1469
- if (loop_count > 2 ) {
1470
- fprintf (stderr, " Log loop count %lu\n " , loop_count);
1471
- }
1472
- # endif
1473
- #endif
1463
+ ut_ad (++loop_count < 100 );
1474
1464
1475
1465
mutex_enter (&(log_sys->mutex ));
1476
1466
ut_ad (!recv_no_log_write);
Original file line number Diff line number Diff line change @@ -1570,17 +1570,7 @@ log_write_up_to(
1570
1570
}
1571
1571
1572
1572
loop:
1573
- #ifdef UNIV_DEBUG
1574
- loop_count++;
1575
-
1576
- ut_ad (loop_count < 5 );
1577
-
1578
- # if 0
1579
- if (loop_count > 2 ) {
1580
- fprintf (stderr, " Log loop count %lu\n " , loop_count);
1581
- }
1582
- # endif
1583
- #endif
1573
+ ut_ad (++loop_count < 100 );
1584
1574
1585
1575
mutex_enter (&(log_sys->mutex ));
1586
1576
ut_ad (!recv_no_log_write);
You can’t perform that action at this time.
0 commit comments