diff options
author | monty@hundin.mysql.fi <> | 2002-01-02 21:29:41 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-01-02 21:29:41 +0200 |
commit | 4b877e0088e6f32a606ffaa0fb3c94afb0b24388 (patch) | |
tree | ef8afaf7a0fed42b30ef0d9d38acccc992b5f87d /sql/sql_manager.cc | |
parent | 5b77e3391050f1f585ab28816ad31761d93e8264 (diff) | |
download | mariadb-git-4b877e0088e6f32a606ffaa0fb3c94afb0b24388.tar.gz |
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.
Diffstat (limited to 'sql/sql_manager.cc')
-rw-r--r-- | sql/sql_manager.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sql/sql_manager.cc b/sql/sql_manager.cc index 53953c96d0b..13cac83fc3f 100644 --- a/sql/sql_manager.cc +++ b/sql/sql_manager.cc @@ -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) |