1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Fixed compiler warnings

server-tools/instance-manager/angel.cc:
  Compiler warnings
sql/event_queue.cc:
  Compier warnings
sql/event_scheduler.cc:
  Compiler warnings
sql/events.cc:
  Compiler warnings
This commit is contained in:
unknown
2007-03-01 16:39:00 -07:00
parent 38a8283c6d
commit 2e34602392
4 changed files with 11 additions and 13 deletions

View File

@@ -201,7 +201,7 @@ void
Event_queue::create_event(THD *thd, Event_queue_element *new_element)
{
DBUG_ENTER("Event_queue::create_event");
DBUG_PRINT("enter", ("thd=0x%lx et=%s.%s",thd,
DBUG_PRINT("enter", ("thd: 0x%lx et=%s.%s", (long) thd,
new_element->dbname.str, new_element->name.str));
if (new_element->status == Event_queue_element::DISABLED)
@@ -209,7 +209,7 @@ Event_queue::create_event(THD *thd, Event_queue_element *new_element)
else
{
new_element->compute_next_execution_time();
DBUG_PRINT("info", ("new event in the queue 0x%lx", new_element));
DBUG_PRINT("info", ("new event in the queue: 0x%lx", (long) new_element));
LOCK_QUEUE_DATA();
queue_insert_safe(&queue, (byte *) new_element);