diff options
author | Andrei Elkin <andrei.elkin@oracle.com> | 2012-04-21 13:24:39 +0300 |
---|---|---|
committer | Andrei Elkin <andrei.elkin@oracle.com> | 2012-04-21 13:24:39 +0300 |
commit | 14de6de946d78dc2c5674d7d1e27edc170e5de6b (patch) | |
tree | 5f529072426678936974bb7abecd548dc5af7004 /sql/sql_parse.cc | |
parent | dcb5071b1906d76b4c61d3125ddc7368f3ee8c4f (diff) | |
parent | 49e484c8cd2e362e843bbd5d756422cc7e2686d3 (diff) | |
download | mariadb-git-14de6de946d78dc2c5674d7d1e27edc170e5de6b.tar.gz |
merge bug11754117-45670 fixes from 5.1.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 18f24deba79..3e5dfa43d41 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -2025,6 +2025,11 @@ mysql_execute_command(THD *thd) } DBUG_RETURN(0); } + /* + Execute deferred events first + */ + if (slave_execute_deferred_events(thd)) + DBUG_RETURN(-1); } else { |