Added user@host message for unexpected query
Added user@host message for unexpected query
This commit is contained in:
@ -770,7 +770,7 @@ extern char *strcasestr();
|
||||
|
||||
query_text = strndup(qtext, query_len);
|
||||
LOGIF(LE, (skygw_log_write(
|
||||
LOGFILE_ERROR, "Unexpected query from slave: %s", query_text)));
|
||||
LOGFILE_ERROR, "Unexpected query from '%s'@'%s': %s", slave->dcb->user, slave->dcb->remote, query_text)));
|
||||
free(query_text);
|
||||
blr_slave_send_error(router, slave, "You have an error in your SQL syntax; Check the syntax the MaxScale binlog router accepts.");
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user