MXS-2047 React on any fatal error
This commit is contained in:
		@ -205,8 +205,7 @@ void restart_slave(TestConnections& test, MYSQL* pSlave)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    auto replication_failed = [] (const std::string& column)
 | 
					    auto replication_failed = [] (const std::string& column)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            return column.find("from master when reading data from binary log: "
 | 
					            return column.find("Got fatal error") != string::npos;
 | 
				
			||||||
                               "'Requested file name") != string::npos;
 | 
					 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    test.try_query(pSlave, "STOP SLAVE");
 | 
					    test.try_query(pSlave, "STOP SLAVE");
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user