Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ade3de74
Commit
ade3de74
authored
May 23, 2006
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
event_scheduler.h, event_scheduler.cc:
Rename load_event() to load_named_event(), to avoid name clash on HP-UX
parent
046e77a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
sql/event_scheduler.cc
sql/event_scheduler.cc
+4
-4
sql/event_scheduler.h
sql/event_scheduler.h
+1
-1
No files found.
sql/event_scheduler.cc
View file @
ade3de74
...
...
@@ -774,7 +774,7 @@ Event_scheduler::add_event(THD *thd, Event_timed *et, bool check_existence)
}
/* We need to load the event on scheduler_root */
if
(
!
(
res
=
load_event
(
thd
,
et
,
&
et_new
)))
if
(
!
(
res
=
load_
named_
event
(
thd
,
et
,
&
et_new
)))
{
queue_insert_safe
(
&
queue
,
(
byte
*
)
et_new
);
DBUG_PRINT
(
"info"
,
(
"Sending COND_new_work"
));
...
...
@@ -909,7 +909,7 @@ Event_scheduler::replace_event(THD *thd, Event_timed *et, LEX_STRING *new_schema
1. Error occured
2. If the replace is DISABLED, we don't load it into the queue.
*/
if
(
!
(
res
=
load_event
(
thd
,
et
,
&
et_new
)))
if
(
!
(
res
=
load_
named_
event
(
thd
,
et
,
&
et_new
)))
{
queue_insert_safe
(
&
queue
,
(
byte
*
)
et_new
);
DBUG_PRINT
(
"info"
,
(
"Sending COND_new_work"
));
...
...
@@ -2032,7 +2032,7 @@ Event_scheduler::events_count()
the table, compiles and inserts it into the cache.
SYNOPSIS
Event_scheduler::load_event()
Event_scheduler::load_
named_
event()
thd THD
etn The name of the event to load and compile on scheduler's root
etn_new The loaded event
...
...
@@ -2043,7 +2043,7 @@ Event_scheduler::events_count()
*/
enum
Event_scheduler
::
enum_error_code
Event_scheduler
::
load_event
(
THD
*
thd
,
Event_timed
*
etn
,
Event_timed
**
etn_new
)
Event_scheduler
::
load_
named_
event
(
THD
*
thd
,
Event_timed
*
etn
,
Event_timed
**
etn_new
)
{
int
ret
=
0
;
MEM_ROOT
*
tmp_mem_root
;
...
...
sql/event_scheduler.h
View file @
ade3de74
...
...
@@ -152,7 +152,7 @@ private:
stop_all_running_events
(
THD
*
thd
);
enum
enum_error_code
load_event
(
THD
*
thd
,
Event_timed
*
etn
,
Event_timed
**
etn_new
);
load_
named_
event
(
THD
*
thd
,
Event_timed
*
etn
,
Event_timed
**
etn_new
);
int
load_events_from_db
(
THD
*
thd
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment