mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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)"
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user