summaryrefslogtreecommitdiff
path: root/sql/event_queue.cc
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2007-03-23 19:14:08 +0300
committerunknown <kostja@bodhi.local>2007-03-23 19:14:08 +0300
commitb2d3dddef527ba6b3b0d77d1cc04d53da54b15cb (patch)
tree2db2252e3c25e36e26ad76446f7a49e013b72d43 /sql/event_queue.cc
parent4e778fe994f691849112607d99913e22f21b8b4f (diff)
downloadmariadb-git-b2d3dddef527ba6b3b0d77d1cc04d53da54b15cb.tar.gz
Change module prefix in error messages: SCHEDULER -> Event Scheduler,
to not collide with the recently introduced thread scheduler module. mysql-test/r/events.result: Update test results with new error texts (SCHEDULER -> Event Scheduler, grammar). sql/event_data_objects.cc: SCHEDULER -> Event Scheduler. sql/event_queue.cc: SCHEDULER -> Event Scheduler. sql/event_scheduler.cc: SCHEDULER -> Event Scheduler. sql/events.cc: SCHEDULER -> Event Scheduler. sql/share/errmsg.txt: SCHEDULER -> Event Scheduler. Fix English grammar.
Diffstat (limited to 'sql/event_queue.cc')
-rw-r--r--sql/event_queue.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc
index 7832a0337e7..f110bfdd1bf 100644
--- a/sql/event_queue.cc
+++ b/sql/event_queue.cc
@@ -138,7 +138,7 @@ Event_queue::init_queue(THD *thd)
0 /*max_on_top*/, event_queue_element_compare_q,
NULL, EVENT_QUEUE_EXTENT))
{
- sql_print_error("SCHEDULER: Can't initialize the execution queue");
+ sql_print_error("Event Scheduler: Can't initialize the execution queue");
goto err;
}
@@ -453,7 +453,8 @@ Event_queue::empty_queue()
uint i;
DBUG_ENTER("Event_queue::empty_queue");
DBUG_PRINT("enter", ("Purging the queue. %u element(s)", queue.elements));
- sql_print_information("SCHEDULER: Purging queue. %u events", queue.elements);
+ sql_print_information("Event Scheduler: Purging the queue. %u events",
+ queue.elements);
/* empty the queue */
for (i= 0; i < queue.elements; ++i)
{
@@ -586,7 +587,7 @@ Event_queue::get_top_for_execution_if_time(THD *thd,
if (top->status == Event_queue_element::DISABLED)
{
DBUG_PRINT("info", ("removing from the queue"));
- sql_print_information("SCHEDULER: Last execution of %s.%s. %s",
+ sql_print_information("Event Scheduler: Last execution of %s.%s. %s",
top->dbname.str, top->name.str,
top->dropped? "Dropping.":"");
delete top;