mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 03:05:33 +02:00
Instead of writing "Errcode" to the log for Slave errors, use "Internal MariaDB error code"
This makes it clear that the error code has nothing to do with errno. mysql-test/include/mtr_warnings.sql: Fixed suppression for new slave error messages mysql-test/lib/My/Test.pm: Use 'send' instead of 'print' to avoid errors about "wrong class ... back attempt" mysql-test/lib/v1/mtr_report.pl: Fixed suppression for new slave error messages mysql-test/mysql-test-run.pl: Fixed suppression for new slave error messages Removed warning from perl 5.16.2 about arrays mysql-test/r/flush_read_lock.result: Fixed suppression for new slave error messages sql/rpl_reporting.cc: Instead of writing "Errcode" to the log for Slave errors, use "Internal MariaDB error code"
This commit is contained in:
parent
8cdb118a0a
commit
eb75edfb2b
74 changed files with 133 additions and 133 deletions
|
|
@ -67,7 +67,7 @@ Slave_reporting_capability::report(loglevel level, int err_code,
|
|||
va_end(args);
|
||||
|
||||
/* If the msg string ends with '.', do not add a ',' it would be ugly */
|
||||
report_function("Slave %s: %s%s Error_code: %d",
|
||||
report_function("Slave %s: %s%s Internal MariaDB error code: %d",
|
||||
m_thread_name, pbuff,
|
||||
(pbuff[0] && *(strend(pbuff)-1) == '.') ? "" : ",",
|
||||
err_code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue