Commit f1476f43 authored by unknown's avatar unknown

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:
  No need to require that "sizeof(time_t) == sizeof(my_time_t)"
parent 4131465e
...@@ -153,13 +153,6 @@ Event_queue::init_queue(THD *thd, Event_db_repository *db_repo) ...@@ -153,13 +153,6 @@ Event_queue::init_queue(THD *thd, Event_db_repository *db_repo)
goto err; 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); res= load_events_from_db(thd);
UNLOCK_QUEUE_DATA(); UNLOCK_QUEUE_DATA();
if (res) if (res)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment