Browse Source

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...
pull/393/merge
sjaakola 8 years ago
committed by Sergei Golubchik
parent
commit
1a8da003f6
  1. 2
      sql/events.cc

2
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 */
}

Loading…
Cancel
Save