diff options
author | unknown <andrey@lmy004.> | 2006-07-10 23:54:46 +0200 |
---|---|---|
committer | unknown <andrey@lmy004.> | 2006-07-10 23:54:46 +0200 |
commit | 084f74426b5f19b47984ef298309e9a4015940c3 (patch) | |
tree | 09cdd81d63936aee123b5ad452a7e925b299f9f6 /sql/event_queue.cc | |
parent | 5d91dc2560836ae28351baf446df7bee97e2cd05 (diff) | |
download | mariadb-git-084f74426b5f19b47984ef298309e9a4015940c3.tar.gz |
Remove trailing whitespace.
After merge fixes.
sql/event_data_objects.cc:
after merge fix. use thd->strmake instead of strmake_root
Remove commented out code.
Remove trailing whitespace.
sql/event_db_repository.cc:
After merge fix.
Before closing thread tables check whether table is actuall non-NULL.
And always initialize it to NULL.
sql/event_queue.cc:
Remove trailing whitespace.
sql/event_scheduler_ng.cc:
Remove trailing whitespace.
Tabs to spaces.
sql/events.cc:
Remove trailing whitespace.
Diffstat (limited to 'sql/event_queue.cc')
-rw-r--r-- | sql/event_queue.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc index bd8809ba708..0fbde5d8910 100644 --- a/sql/event_queue.cc +++ b/sql/event_queue.cc @@ -42,7 +42,7 @@ SYNOPSIS event_queue_element_data_compare_q() - + vptr - not used (set it to NULL) a - first Event_queue_element object b - second Event_queue_element object @@ -51,7 +51,7 @@ -1 - a->execute_at < b->execute_at 0 - a->execute_at == b->execute_at 1 - a->execute_at > b->execute_at - + NOTES execute_at.second_part is not considered during comparison */ @@ -409,7 +409,7 @@ Event_queue::drop_matching_events(THD *thd, LEX_STRING pattern, DBUG_ENTER("Event_queue::drop_matching_events"); DBUG_PRINT("enter", ("pattern=%*s state=%d", pattern.length, pattern.str)); - uint i= 0; + uint i= 0; while (i < queue.elements) { Event_queue_element *et= (Event_queue_element *) queue_element(&queue, i); @@ -438,7 +438,7 @@ Event_queue::drop_matching_events(THD *thd, LEX_STRING pattern, not notify the scheduler and it will realize the change when it wakes up from timedwait. */ - + DBUG_VOID_RETURN; } @@ -499,7 +499,7 @@ Event_queue::events_count() SYNOPSIS Event_queue::load_events_from_db() thd - Thread context. Used for memory allocation in some cases. - + RETURN VALUE 0 OK !0 Error (EVEX_OPEN_TABLE_FAILED, EVEX_MICROSECOND_UNSUP, |