From 8fa14ba6e6c6e7360d0799d703a5af26e2c2c61f Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Mon, 28 Feb 2011 23:24:19 +0200 Subject: Get rid of compiler warnings mysql-test/suite/parts/t/partition_alter4_innodb.test: Removed duplicated big_test marker sql-common/my_time.c: Get rid of compiler warning about uninitialized members --- sql-common/my_time.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sql-common') diff --git a/sql-common/my_time.c b/sql-common/my_time.c index 95078a50097..0408ea1e11f 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -727,6 +727,9 @@ void my_init_time(void) my_time.hour= (uint) l_time->tm_hour; my_time.minute= (uint) l_time->tm_min; my_time.second= (uint) l_time->tm_sec; + my_time.neg= 0; + my_time.second_part= 0; + my_time.time_type= MYSQL_TIMESTAMP_DATETIME; my_system_gmt_sec(&my_time, &my_time_zone, ¬_used); /* Init my_time_zone */ } -- cgit v1.2.1