Comment 5 for bug 1101030

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

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.