mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix for
BUG#797 "If query ignored on slave (replicate-ignore-table) the slave still checks if the returned error (0) is the same as the one on the master, whereas it shouldn't test this. Plus a new test for BUG#797.
This commit is contained in:
@@ -69,7 +69,8 @@ static void pretty_print_str(FILE* file, char* str, int len)
|
||||
|
||||
inline int ignored_error_code(int err_code)
|
||||
{
|
||||
return use_slave_mask && bitmap_is_set(&slave_error_mask, err_code);
|
||||
return ((err_code == ER_SLAVE_IGNORED_TABLE) ||
|
||||
(use_slave_mask && bitmap_is_set(&slave_error_mask, err_code)));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user