mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
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
This commit is contained in:
parent
5df39c48f8
commit
8fa14ba6e6
3 changed files with 5 additions and 4 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue