diff options
author | unknown <andrey@example.com> | 2006-08-28 10:27:42 +0200 |
---|---|---|
committer | unknown <andrey@example.com> | 2006-08-28 10:27:42 +0200 |
commit | f18ec676a0b0be35068e2c464b39d92ac143ec5c (patch) | |
tree | 20f1308446168c71113bc7ef963c8dfb57bd5188 /sql/events.h | |
parent | bd868fb60cb9aa47a3add210d11bb4b2d5b7eed7 (diff) | |
download | mariadb-git-f18ec676a0b0be35068e2c464b39d92ac143ec5c.tar.gz |
WL#3337 (Event scheduler new architecture)
Don't send affected rows after CREATE/ALTER/DROP EVENT as this is
inconsistent with the rest of the server in terms of CREATE/ALTER/DROP
DDLs
sql/event_data_objects.cc:
Events::drop_event() does not expect anymore a parameter named affected_rows
sql/event_db_repository.cc:
Remove rows_affected as the behavior exposed by Events is not
coherent with the behavior of many other DDL, like CREATE PROCEDURE, etc.
sql/event_db_repository.h:
Remove rows_affected as the behavior exposed by Events is not
coherent with the behavior of many other DDL, like CREATE PROCEDURE, etc.
sql/events.cc:
Remove rows_affected as the behavior exposed by Events is not
coherent with the behavior of many other DDL, like CREATE PROCEDURE, etc.
sql/events.h:
Remove rows_affected as the behavior exposed by Events is not
coherent with the behavior of many other DDL, like CREATE PROCEDURE, etc.
sql/sql_parse.cc:
Don't send affected rows, because this behavior is not consistent
with the rest of the server for CREATE/ALTER/DROP DDLs
Diffstat (limited to 'sql/events.h')
-rw-r--r-- | sql/events.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sql/events.h b/sql/events.h index 4ea91baf64c..737044ad298 100644 --- a/sql/events.h +++ b/sql/events.h @@ -77,16 +77,14 @@ public: get_instance(); bool - create_event(THD *thd, Event_parse_data *parse_data, bool if_exists, - uint *rows_affected); + create_event(THD *thd, Event_parse_data *parse_data, bool if_exists); bool - update_event(THD *thd, Event_parse_data *parse_data, sp_name *rename_to, - uint *rows_affected); + update_event(THD *thd, Event_parse_data *parse_data, sp_name *rename_to); bool drop_event(THD *thd, LEX_STRING dbname, LEX_STRING name, bool if_exists, - uint *rows_affected, bool only_from_disk); + bool only_from_disk); void drop_schema_events(THD *thd, char *db); |