diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2017-10-04 22:47:59 +0300 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2017-10-10 08:37:44 +0300 |
commit | 70c23321de0769b4fdb92e6df250fd0dc056df20 (patch) | |
tree | 705b4b84e09b4c53cab0ac8edf1f2b0aa9a7b7d7 /sql | |
parent | 1841ef1c5458634a88ef4faad5883552d9f354b2 (diff) | |
download | mariadb-git-70c23321de0769b4fdb92e6df250fd0dc056df20.tar.gz |
MW-416
Changed return code for replicatio error to TRUE.
This is aligned with native mysql convention to return TRUE (defined to 1) or FALSE (defined to 0) from a bool function.
This is wrong, but follows the mysql conventiosn, at least...
Diffstat (limited to 'sql')
-rw-r--r-- | sql/events.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/events.cc b/sql/events.cc index ad2f13fc35c..1f2501646cb 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -419,7 +419,7 @@ Events::create_event(THD *thd, Event_parse_data *parse_data) DBUG_RETURN(ret); #ifdef WITH_WSREP error: - DBUG_RETURN(true); + DBUG_RETURN(TRUE); #endif /* WITH_WSREP */ } |