From d0e83062036a8da0bf02dd24070dd138b843ce80 Mon Sep 17 00:00:00 2001 From: "jani@hynda.mysql.fi" <> Date: Mon, 5 Nov 2001 23:48:03 +0200 Subject: Added xml patch to mysqldump. Made innodb to compile more cleanly with debugging options enabled. Fixed a few bugs and found a few possible bugs, which I hope Heikki will check. Comments needs to be fixed too. Some while() functions should be changed to do ... until for documenting purposes, because some of them must and will be processed at least once, or a variable would be used uninitialized. Regards, Jani --- innobase/os/os0thread.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'innobase/os') diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c index 11bff73608a..49d4c8518fb 100644 --- a/innobase/os/os0thread.c +++ b/innobase/os/os0thread.c @@ -58,7 +58,8 @@ os_thread_create( #endif void* arg, /* in: argument to start function */ - os_thread_id_t* thread_id) /* out: id of created + os_thread_id_t* thread_id __attribute__((unused))) + /* out: id of created thread */ { #ifdef __WIN__ @@ -204,7 +205,8 @@ ulint os_thread_get_priority( /*===================*/ /* out: priority */ - os_thread_t handle) /* in: OS handle to the thread */ + os_thread_t handle __attribute__((unused))) + /* in: OS handle to the thread */ { #ifdef __WIN__ int os_pri; -- cgit v1.2.1