MXS-2047 React on any fatal error

This commit is contained in:
Johan Wikman 2018-09-24 10:44:52 +03:00
parent be4df2508f
commit 77daf1fbdb

View File

@ -205,8 +205,7 @@ void restart_slave(TestConnections& test, MYSQL* pSlave)
auto replication_failed = [] (const std::string& column)
{
return column.find("from master when reading data from binary log: "
"'Requested file name") != string::npos;
return column.find("Got fatal error") != string::npos;
};
test.try_query(pSlave, "STOP SLAVE");