diff options
author | mats@kindahl-laptop.dnsalias.net <> | 2007-06-09 07:19:37 +0200 |
---|---|---|
committer | mats@kindahl-laptop.dnsalias.net <> | 2007-06-09 07:19:37 +0200 |
commit | 9094e97aed8536e628cb6c5a81b79ecc6521be7a (patch) | |
tree | cdc21b3b7f0f7811d04f8bafebcee2697b8a7d3b /sql/slave.h | |
parent | bba84e754d61918dd147f1926b338f5f82ee3150 (diff) | |
download | mariadb-git-9094e97aed8536e628cb6c5a81b79ecc6521be7a.tar.gz |
BUG#24954 (Last_errno and Last_error not set after master_retry_count was reached):
Adding new fields Last_{IO,SQL}_Errno and Last_{IO,SQL}_Error to output
of SHOW SLAVE STATUS to hold errors from I/O and SQL thread respectively.
Old fields Last_Error and Last_Errno are aliases for Last_SQL_Error and
Last_SQL_Errno respectively.
Fields are added last to output of SHOW SLAVE STATUS to allow old applications
to use the same positional arguments into the row, while allowing new
application to benefit from the added information.
In addition, some new error codes are added (especially for the I/O
thread) to be able to provide sensible error message.
Diffstat (limited to 'sql/slave.h')
-rw-r--r-- | sql/slave.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/slave.h b/sql/slave.h index 24ba09d78d3..078a98735ef 100644 --- a/sql/slave.h +++ b/sql/slave.h @@ -166,9 +166,6 @@ bool show_binlog_info(THD* thd); const char *print_slave_db_safe(const char *db); int check_expected_error(THD* thd, RELAY_LOG_INFO* rli, int error_code); void skip_load_data_infile(NET* net); -void slave_print_msg(enum loglevel level, RELAY_LOG_INFO* rli, - int err_code, const char* msg, ...) - ATTRIBUTE_FORMAT(printf, 4, 5); void end_slave(); /* clean up */ void clear_until_condition(RELAY_LOG_INFO* rli); |