New log messages for dbusers loading failure
New log messages for dbusers loading failure
This commit is contained in:
@ -431,7 +431,7 @@ int rc = 0;
|
||||
if (service->dbref == NULL) {
|
||||
SERVICE *service = inst->service;
|
||||
SERVER *server;
|
||||
server = server_alloc("none", "MySQLBackend", (int)3306);
|
||||
server = server_alloc("_none_", "MySQLBackend", (int)3306);
|
||||
if (server == NULL) {
|
||||
LOGIF(LE, (skygw_log_write_flush(LOGFILE_ERROR,
|
||||
"%s: Error for server_alloc in createInstance",
|
||||
|
||||
@ -695,7 +695,7 @@ int query_len;
|
||||
|
||||
query_text = strndup(qtext, query_len);
|
||||
LOGIF(LE, (skygw_log_write(
|
||||
LOGFILE_ERROR, "Unexpected query from slave server %s", query_text)));
|
||||
LOGFILE_ERROR, "Unexpected query from slave: %s", 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