mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03: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:
@ -22,8 +22,6 @@
|
|||||||
# any of the variables.
|
# any of the variables.
|
||||||
#
|
#
|
||||||
|
|
||||||
--source include/big_test.inc
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
# General not engine specific settings and requirements
|
# General not engine specific settings and requirements
|
||||||
|
|
||||||
|
@ -727,6 +727,9 @@ void my_init_time(void)
|
|||||||
my_time.hour= (uint) l_time->tm_hour;
|
my_time.hour= (uint) l_time->tm_hour;
|
||||||
my_time.minute= (uint) l_time->tm_min;
|
my_time.minute= (uint) l_time->tm_min;
|
||||||
my_time.second= (uint) l_time->tm_sec;
|
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 */
|
my_system_gmt_sec(&my_time, &my_time_zone, ¬_used); /* Init my_time_zone */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -726,7 +726,7 @@ xtPublic void xt_check_tables(XTThreadPtr self)
|
|||||||
{
|
{
|
||||||
u_int edx;
|
u_int edx;
|
||||||
XTTableEntryPtr te_ptr;
|
XTTableEntryPtr te_ptr;
|
||||||
volatile XTTableHPtr tab;
|
volatile XTTableHPtr tab= 0;
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
|
|
||||||
enter_();
|
enter_();
|
||||||
@ -1132,7 +1132,7 @@ static int tab_new_handle(XTThreadPtr self, XTTableHPtr *r_tab, XTDatabaseHPtr d
|
|||||||
XTOpenFilePtr of_rec, of_ind;
|
XTOpenFilePtr of_rec, of_ind;
|
||||||
XTTableEntryPtr te_ptr;
|
XTTableEntryPtr te_ptr;
|
||||||
size_t tab_format_offset;
|
size_t tab_format_offset;
|
||||||
size_t tab_head_size;
|
size_t tab_head_size= 0;
|
||||||
|
|
||||||
enter_();
|
enter_();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user