List:Commits« Previous MessageNext Message »
From:Alexander Barkov Date:February 14 2012 8:37pm
Subject:bzr push into mysql-trunk branch (alexander.barkov:3902 to 3903) Bug#13704152
View as plain text  
 3903 Alexander Barkov	2012-02-15
      Bug#13704152 - TIME RELATED COMPILER ERRORS DURING OPTIMZED BUILD (./BUILD/COMPILE-PENTIUM64)
      
      The time_type, neg and second_part members were not initialized.

    modified:
      sql-common/my_time.c
 3902 Dmitry Shulga	2012-02-14
      This is a prerequisite patch for bug#11753919 - fixed PB failures that
      were fired after a subquery optimization feature had been enabled.

    added:
      mysql-test/t/subquery_sj_all-master.opt
      mysql-test/t/subquery_sj_all_bka-master.opt
      mysql-test/t/subquery_sj_all_bka_nixbnl-master.opt
      mysql-test/t/subquery_sj_all_bkaunique-master.opt
      mysql-test/t/subquery_sj_dupsweed-master.opt
      mysql-test/t/subquery_sj_dupsweed_bka-master.opt
      mysql-test/t/subquery_sj_dupsweed_bka_nixbnl-master.opt
      mysql-test/t/subquery_sj_dupsweed_bkaunique-master.opt
      mysql-test/t/subquery_sj_firstmatch-master.opt
      mysql-test/t/subquery_sj_firstmatch_bka-master.opt
=== modified file 'sql-common/my_time.c'
--- a/sql-common/my_time.c	2012-01-24 11:57:25 +0000
+++ b/sql-common/my_time.c	2012-02-14 20:35:05 +0000
@@ -909,6 +909,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.time_type= MYSQL_TIMESTAMP_DATETIME;
+  my_time.neg= 0;
+  my_time.second_part= 0;
   my_system_gmt_sec(&my_time, &my_time_zone, &not_used); /* Init my_time_zone */
 }
 

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk branch (alexander.barkov:3902 to 3903) Bug#13704152Alexander Barkov15 Feb