From 8f3e39bd4985cd6cde244c6a2eb27950ade33585 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 21 Dec 2006 22:38:54 -0500 Subject: WL #3031 * Various windows errors fixed * Increased max key length for federated include/my_time.h: WL #3031 Windows compile errors for some platforms. JBalint helped find this fix. sql/log_event.cc: WL #3031 Windows compile errors on some platforms. explicite casting. sql/sql_servers.cc: WL #3031 Add rwlock init to sql_servers to fix hang on windows. storage/federated/ha_federated.h: WL #3031 Increase max key length to innodb's max (Cisco fix) --- include/my_time.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/my_time.h') diff --git a/include/my_time.h b/include/my_time.h index 356595cae2c..c680c92ce46 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -37,7 +37,8 @@ extern uchar days_in_month[]; /* on Win64 long is still 4 bytes (not 8!) */ typedef LONG64 my_time_t; #else -typedef long my_time_t; +typedef time_t my_time_t; + #endif #define MY_TIME_T_MAX LONG_MAX -- cgit v1.2.1