diff options
author | Monty <monty@mariadb.org> | 2016-04-05 16:52:40 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2016-04-05 18:00:03 +0300 |
commit | d0b178fb45898486979a504de30ac186f734bb26 (patch) | |
tree | 7a78d5c3ecc02319615042a598a7530099cb217b /sql/log_event.cc | |
parent | 38f39a9288dc826ac16ac81a67a4e3174451825d (diff) | |
download | mariadb-git-d0b178fb45898486979a504de30ac186f734bb26.tar.gz |
Added new range of MariaDB error messages, starting from 3000
This is done by splitting variables.errmsg and locale.errmsg to
variables.errmsg_extra and locale.errmsg_extra
The ER() macros in unireg.h now looks more complex than before, but this
isn't critical as most usage of them are with constants and the compiler
will remove most of the test code.
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r-- | sql/log_event.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc index b56a9e2aee3..3715f0cc4d4 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -4523,7 +4523,7 @@ compare_errors: "Error on master: message (format)='%s' error code=%d ; " "Error on slave: actual message='%s', error code=%d. " "Default database: '%s'. Query: '%s'", - ER_SAFE_THD(thd, expected_error), + ER_THD(thd, expected_error), expected_error, actual_error ? thd->get_stmt_da()->message() : "no error", actual_error, |