Commit 64ceea7a authored by Michael Widenius's avatar Michael Widenius

Merge with 5.1 to get fixes for tests and compiler warnings

parents 7a79fe52 8fa14ba6
...@@ -51,9 +51,6 @@ let $more_pk_ui_tests= 0; ...@@ -51,9 +51,6 @@ let $more_pk_ui_tests= 0;
# The server must support partitioning. # The server must support partitioning.
--source include/have_partition.inc --source include/have_partition.inc
# This test takes long time, so only run it with the --big mtr-flag.
--source include/big_test.inc
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
# Engine specific settings and requirements # Engine specific settings and requirements
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
# General not engine specific settings and requirements # General not engine specific settings and requirements
--source include/big_test.inc
##### Options, for debugging support ##### ##### Options, for debugging support #####
let $debug= 0; let $debug= 0;
let $with_partitioning= 1; let $with_partitioning= 1;
......
...@@ -22,8 +22,6 @@ ...@@ -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
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
##### Options, for debugging support ##### ##### Options, for debugging support #####
let $debug= 0; let $debug= 0;
--source include/big_test.inc
# The server must support partitioning. # The server must support partitioning.
--source include/have_partition.inc --source include/have_partition.inc
......
...@@ -22,14 +22,13 @@ ...@@ -22,14 +22,13 @@
# any of the variables. # any of the variables.
# #
--source include/long_test.inc
#------------------------------------------------------------------------------# #------------------------------------------------------------------------------#
# General not engine specific settings and requirements # General not engine specific settings and requirements
##### Options, for debugging support ##### ##### Options, for debugging support #####
let $debug= 0; let $debug= 0;
--source include/big_test.inc
# The server must support partitioning. # The server must support partitioning.
--source include/have_partition.inc --source include/have_partition.inc
......
...@@ -727,6 +727,9 @@ void my_init_time(void) ...@@ -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, &not_used); /* Init my_time_zone */ my_system_gmt_sec(&my_time, &my_time_zone, &not_used); /* Init my_time_zone */
} }
......
...@@ -726,7 +726,7 @@ xtPublic void xt_check_tables(XTThreadPtr self) ...@@ -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 ...@@ -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_();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment