Commit 16f0bd71 authored by kostja@bodhi.(none)'s avatar kostja@bodhi.(none)
Browse files

Try to fix assertion failures at slave shutdown when running

rpl_ndb tests on sapsrv1.
parent 2e82e666
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -2326,6 +2326,9 @@ static int open_ndb_binlog_index(THD *thd, TABLE_LIST *tables,
  thd->clear_error();
  if (open_tables(thd, &tables, &counter, MYSQL_LOCK_IGNORE_FLUSH))
  {
    if (thd->killed)
      sql_print_error("NDB Binlog: Opening ndb_binlog_index: killed");
    else
      sql_print_error("NDB Binlog: Opening ndb_binlog_index: %d, '%s'",
                      thd->main_da.sql_errno(),
                      thd->main_da.message());