mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@ -135,7 +135,7 @@ bool
|
||||
Event_queue::init_queue(THD *thd)
|
||||
{
|
||||
DBUG_ENTER("Event_queue::init_queue");
|
||||
DBUG_PRINT("enter", ("this: 0x%lx", (long) this));
|
||||
DBUG_PRINT("enter", ("this: %p", this));
|
||||
|
||||
LOCK_QUEUE_DATA();
|
||||
|
||||
@ -201,7 +201,7 @@ Event_queue::create_event(THD *thd, Event_queue_element *new_element,
|
||||
bool *created)
|
||||
{
|
||||
DBUG_ENTER("Event_queue::create_event");
|
||||
DBUG_PRINT("enter", ("thd: 0x%lx et=%s.%s", (long) thd,
|
||||
DBUG_PRINT("enter", ("thd: %p et=%s.%s", thd,
|
||||
new_element->dbname.str, new_element->name.str));
|
||||
|
||||
/* Will do nothing if the event is disabled */
|
||||
@ -213,7 +213,7 @@ Event_queue::create_event(THD *thd, Event_queue_element *new_element,
|
||||
DBUG_RETURN(FALSE);
|
||||
}
|
||||
|
||||
DBUG_PRINT("info", ("new event in the queue: 0x%lx", (long) new_element));
|
||||
DBUG_PRINT("info", ("new event in the queue: %p", new_element));
|
||||
|
||||
LOCK_QUEUE_DATA();
|
||||
*created= (queue_insert_safe(&queue, (uchar *) new_element) == FALSE);
|
||||
@ -266,7 +266,7 @@ Event_queue::update_event(THD *thd, const LEX_CSTRING *dbname,
|
||||
/* If not disabled event */
|
||||
if (new_element)
|
||||
{
|
||||
DBUG_PRINT("info", ("new event in the queue: 0x%lx", (long) new_element));
|
||||
DBUG_PRINT("info", ("new event in the queue: %p", new_element));
|
||||
queue_insert_safe(&queue, (uchar *) new_element);
|
||||
mysql_cond_broadcast(&COND_queue_state);
|
||||
}
|
||||
@ -549,7 +549,7 @@ Event_queue::dbug_dump_queue(my_time_t when)
|
||||
i++)
|
||||
{
|
||||
et= ((Event_queue_element*)queue_element(&queue, i));
|
||||
DBUG_PRINT("info", ("et: 0x%lx name: %s.%s", (long) et,
|
||||
DBUG_PRINT("info", ("et: %p name: %s.%s", et,
|
||||
et->dbname.str, et->name.str));
|
||||
DBUG_PRINT("info", ("exec_at: %lu starts: %lu ends: %lu execs_so_far: %u "
|
||||
"expr: %ld et.exec_at: %ld now: %ld "
|
||||
@ -677,8 +677,8 @@ Event_queue::get_top_for_execution_if_time(THD *thd,
|
||||
end:
|
||||
UNLOCK_QUEUE_DATA();
|
||||
|
||||
DBUG_PRINT("info", ("returning %d et_new: 0x%lx ",
|
||||
ret, (long) *event_name));
|
||||
DBUG_PRINT("info", ("returning %d et_new: %p ",
|
||||
ret, *event_name));
|
||||
|
||||
if (*event_name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user