diff options
author | Michael Widenius <monty@askmonty.org> | 2011-02-28 23:24:19 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-02-28 23:24:19 +0200 |
commit | 8fa14ba6e6c6e7360d0799d703a5af26e2c2c61f (patch) | |
tree | 75980cadd9828e2e2a062fd487670cbf759e72fe /sql-common | |
parent | 5df39c48f86639c76f14ae54baf805d2324afd37 (diff) | |
download | mariadb-git-8fa14ba6e6c6e7360d0799d703a5af26e2c2c61f.tar.gz |
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
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/my_time.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ } |