summaryrefslogtreecommitdiff
path: root/sql/event_queue.cc
diff options
context:
space:
mode:
authorunknown <malff/marcsql@weblab.(none)>2007-03-01 16:39:00 -0700
committerunknown <malff/marcsql@weblab.(none)>2007-03-01 16:39:00 -0700
commit2e34602392b0a97b7cb4b2eb348d78ad75e84cdc (patch)
treef5a2345887116e148b0d64250f0a0d7d2f93ebd2 /sql/event_queue.cc
parent38a8283c6d6bf3b36547c8474e9411b800e3ba5f (diff)
downloadmariadb-git-2e34602392b0a97b7cb4b2eb348d78ad75e84cdc.tar.gz
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
Diffstat (limited to 'sql/event_queue.cc')
-rw-r--r--sql/event_queue.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc
index 7b06e8b2cf5..296c30506f6 100644
--- a/sql/event_queue.cc
+++ b/sql/event_queue.cc
@@ -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);