diff options
author | andrey@lmy004. <> | 2006-07-11 18:28:15 +0200 |
---|---|---|
committer | andrey@lmy004. <> | 2006-07-11 18:28:15 +0200 |
commit | 0d517461f0e6b465e0d7f9bc4a5b9241f7cbb657 (patch) | |
tree | f2fc5508efd161a1ef60e481f22fe90017197fa1 /sql/events.h | |
parent | 2f7555b30822a7a04f8037b4a5c092625f194ffc (diff) | |
download | mariadb-git-0d517461f0e6b465e0d7f9bc4a5b9241f7cbb657.tar.gz |
WL#3337 (Event scheduler new architecture)
More small fixes to the API : use LEX_STRING instead of LEX_STRING* and if error
then return bool(true) instead of error code.
Merged functions. Reduced usage of sp_name.
Fixed a lot of function documentation errors.
Added function documentation wherever needed.
Removed some unused defines and error codes.
Next to come is batch rename of Event_scheduler_ng to Event_scheduler.
Diffstat (limited to 'sql/events.h')
-rw-r--r-- | sql/events.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/events.h b/sql/events.h index f825a75934f..58a1081caa9 100644 --- a/sql/events.h +++ b/sql/events.h @@ -81,7 +81,7 @@ public: uint *rows_affected); int - update_event(THD *thd, Event_parse_data *parse_data, sp_name *new_name, + update_event(THD *thd, Event_parse_data *parse_data, sp_name *rename_to, uint *rows_affected); int @@ -95,7 +95,7 @@ public: open_event_table(THD *thd, enum thr_lock_type lock_type, TABLE **table); int - show_create_event(THD *thd, sp_name *spn); + show_create_event(THD *thd, LEX_STRING dbname, LEX_STRING name); /* Needed for both SHOW CREATE EVENT and INFORMATION_SCHEMA */ static int |