File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -4257,6 +4257,7 @@ innobase_commit(
4257
4257
trx_t* trx;
4258
4258
4259
4259
DBUG_ENTER("innobase_commit");
4260
+ DBUG_PRINT("enter", ("commit_trx: %d", commit_trx));
4260
4261
DBUG_ASSERT(hton == innodb_hton_ptr);
4261
4262
DBUG_PRINT("trans", ("ending transaction"));
4262
4263
Original file line number Diff line number Diff line change @@ -1268,6 +1268,10 @@ log_group_file_header_flush(
1268
1268
}
1269
1269
#endif /* UNIV_DEBUG */
1270
1270
if (log_do_write) {
1271
+ DBUG_PRINT (" ib_log" , (" write " LSN_PF
1272
+ " group " ULINTPF
1273
+ " file " ULINTPF " header" ,
1274
+ start_lsn, group->id , nth_file));
1271
1275
log_sys->n_log_ios ++;
1272
1276
1273
1277
MONITOR_INC (MONITOR_LOG_IO);
@@ -1539,6 +1543,9 @@ log_write_up_to(
1539
1543
return ;
1540
1544
}
1541
1545
1546
+ DBUG_PRINT (" ib_log" , (" write " LSN_PF " to " LSN_PF,
1547
+ log_sys->written_to_all_lsn ,
1548
+ log_sys->lsn ));
1542
1549
#ifdef UNIV_DEBUG
1543
1550
if (log_debug_writes) {
1544
1551
fprintf (stderr,
Original file line number Diff line number Diff line change @@ -1138,6 +1138,7 @@ trx_flush_log_if_needed_low(
1138
1138
lsn_t lsn) /* !< in: lsn up to which logs are to be
1139
1139
flushed. */
1140
1140
{
1141
+ DBUG_ENTER (" trx_flush_log_if_needed_low" );
1141
1142
switch (srv_flush_log_at_trx_commit) {
1142
1143
case 0 :
1143
1144
/* Do nothing */
@@ -1156,6 +1157,7 @@ trx_flush_log_if_needed_low(
1156
1157
default :
1157
1158
ut_error;
1158
1159
}
1160
+ DBUG_VOID_RETURN;
1159
1161
}
1160
1162
1161
1163
/* *********************************************************************/ /* *
@@ -1690,15 +1692,17 @@ trx_commit_complete_for_mysql(
1690
1692
trx_t * trx) /* !< in/out: transaction */
1691
1693
{
1692
1694
ut_a (trx);
1695
+ DBUG_ENTER (" trx_commit_complete_for_mysql" );
1693
1696
1694
1697
if (!trx->must_flush_log_later
1695
1698
|| (srv_flush_log_at_trx_commit == 1 && trx->active_commit_ordered )) {
1696
- return ;
1699
+ DBUG_VOID_RETURN ;
1697
1700
}
1698
1701
1699
1702
trx_flush_log_if_needed (trx->commit_lsn , trx);
1700
1703
1701
1704
trx->must_flush_log_later = FALSE ;
1705
+ DBUG_VOID_RETURN;
1702
1706
}
1703
1707
1704
1708
/* *********************************************************************/ /* *
You can’t perform that action at this time.
0 commit comments