I was wrong about my supposal of what does the condition "is_slave_applier(thd) && thd->query().str == NULL" mean. This condition is not about binlog format, but it is about currently processed relay log event type. The type must not be "QUERY_EVENT". That is why the above condition must be replaced with:
I was wrong about my supposal of what does the condition "is_slave_ applier( thd) && thd->query().str == NULL" mean. This condition is not about binlog format, but it is about currently processed relay log event type. The type must not be "QUERY_EVENT". That is why the above condition must be replaced with:
is_slave_ applier( thd) && rli_slave- >rows_query_ ev || thd->query() == NULL)
(thd->