Extended XtraDB status added last read view info, which read dirty:
fprintf(file, "%lu read views open inside InnoDB\n", UT_LIST_GET_LEN(trx_sys->view_list));
if (UT_LIST_GET_LEN(trx_sys->view_list)) { read_view_t* view = UT_LIST_GET_LAST(trx_sys->view_list);
if (view) { fprintf(file, "---OLDEST VIEW---\n"); read_view_print(file, view); fprintf(file, "-----------------\n"); } }
It needs to take the kernel_mutex or skip print, according to the nowait arg value.
Extended XtraDB status added last read view info, which read dirty:
fprintf(file, "%lu read views open inside InnoDB\n", GET_LEN( trx_sys- >view_list) );
UT_LIST_
if (UT_LIST_ GET_LEN( trx_sys- >view_list) ) { GET_LAST( trx_sys- >view_list) ;
read_view_t* view = UT_LIST_
if (view) { view_print( file, view); ------- ----\n" );
fprintf(file, "---OLDEST VIEW---\n");
read_
fprintf(file, "------
}
}
It needs to take the kernel_mutex or skip print, according to the nowait arg value.