Skip to content

Commit 1a8da00

Browse files
sjaakolavuvova
authored andcommitted
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...
1 parent 2cd3169 commit 1a8da00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/events.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ Events::create_event(THD *thd, Event_parse_data *parse_data)
420420
DBUG_RETURN(ret);
421421
#ifdef WITH_WSREP
422422
error:
423-
DBUG_RETURN(true);
423+
DBUG_RETURN(TRUE);
424424
#endif /* WITH_WSREP */
425425
}
426426

0 commit comments

Comments
 (0)