diff options
author | sjaakola <seppo.jaakola@iki.fi> | 2017-10-04 22:47:59 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-12-19 19:46:33 +0100 |
commit | 1a8da003f6d2947d2e6ef0f2edea19394657fa0d (patch) | |
tree | 519f727f1c9aaebd3a2a35081c80e0f375423dee | |
parent | 2cd316911309e3db4007aa224f7874bfbeb14032 (diff) | |
download | mariadb-git-1a8da003f6d2947d2e6ef0f2edea19394657fa0d.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...
-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 cdc15f41716..cb81e98a254 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -420,7 +420,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 */ } |