Unknown SQL commands are treated as writes
This will prevent any possible damage to a slave by new or unexpected commands.
This commit is contained in:
@ -647,6 +647,7 @@ static qc_query_type_t resolve_query_type(THD* thd)
|
||||
break;
|
||||
|
||||
default:
|
||||
type |= QUERY_TYPE_WRITE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user