Skip to content

Commit 232564c

Browse files
committed
Added more print codes
1 parent 3991439 commit 232564c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

storage/innobase/buf/buf0flu.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2340,6 +2340,7 @@ buf_flush_LRU_list(
23402340

23412341
buf_pool_mutex_exit(buf_pool);
23422342
} else {
2343+
fprintf(stderr, "original flush(%lu)\n", buf_pool->instance_no);
23432344
/* end */
23442345

23452346
/* srv_LRU_scan_depth can be arbitrarily large value.
@@ -2368,9 +2369,13 @@ buf_flush_LRU_list(
23682369
last iteration is still running, */
23692370
buf_flush_do_batch(buf_pool, BUF_FLUSH_LRU, scan_depth,
23702371
0, &n_flushed);
2372+
2373+
/* mijin */
2374+
fprintf(stderr, "original flush finished(%lu) = %lu\n", buf_pool->instance_no, n_flushed);
2375+
/* end */
23712376
}
23722377

2373-
return(n_flushed);
2378+
return(n_flushed);
23742379
}
23752380

23762381
/*********************************************************************//**

0 commit comments

Comments
 (0)