sqlglm(err_msg, &bufsize, &msglength);
err_msg[msglength] = 0;
com_err(whoami, 0, "SQL error text = %s", err_msg);
- critical_alert("MOIRA", "Moira server encountered DBMS ERROR %d\n%s",
+ critical_alert(whoami, "MOIRA", "Moira server encountered DBMS ERROR %d\n%s",
dbms_errno, err_msg);
}
return mr_errcode;
if (rowcount == max_row_count)
{
- critical_alert("moirad", "attempted query with too many rows");
+ critical_alert(whoami, "moirad", "attempted query with too many rows");
return MR_NO_MEM;
}
else if (rowcount == 0)