mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0 Added SIGNED / UNSIGNED casts Fixed core dump bug in net_clear() with libmysqld. Back to using semaphores in query cache. Added 'Null' and 'Index_type' to SHOW INDEX.
This commit is contained in:
@@ -55,13 +55,7 @@ pthread_handler_decl(handle_manager,arg __attribute__((unused)))
|
||||
{
|
||||
if (reset_flush_time)
|
||||
{
|
||||
#ifdef HAVE_TIMESPEC_TS_SEC
|
||||
abstime.ts_sec = time(NULL)+flush_time; // Bsd 2.1
|
||||
abstime.ts_nsec = 0;
|
||||
#else
|
||||
abstime.tv_sec = time(NULL)+flush_time; // Linux or Solairs
|
||||
abstime.tv_nsec = 0;
|
||||
#endif
|
||||
set_timespec(abstime, flush_time);
|
||||
reset_flush_time = FALSE;
|
||||
}
|
||||
while (!manager_status && !error && !abort_loop)
|
||||
|
||||
Reference in New Issue
Block a user