From 06432e396b3f63aa835c6deda087d4df91cd852a Mon Sep 17 00:00:00 2001 From: "msvensson@pilot.blaudden" <> Date: Tue, 27 Feb 2007 16:58:40 +0100 Subject: [PATCH] Bug#26536 func_time failure on vm-win2003-64-b, occurs every time - my_time_t is defined as long which means it will not always be the same size as time_t. See explanation in include/my_time.h --- sql/event_queue.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sql/event_queue.cc b/sql/event_queue.cc index 068abbe3408..e67eac4125c 100644 --- a/sql/event_queue.cc +++ b/sql/event_queue.cc @@ -153,13 +153,6 @@ Event_queue::init_queue(THD *thd, Event_db_repository *db_repo) goto err; } - if (sizeof(my_time_t) != sizeof(time_t)) - { - sql_print_error("SCHEDULER: sizeof(my_time_t) != sizeof(time_t) ." - "The scheduler may not work correctly. Stopping"); - goto err; - } - res= load_events_from_db(thd); UNLOCK_QUEUE_DATA(); if (res)