List:Commits« Previous MessageNext Message »
From:kevin.lewis Date:February 27 2013 7:29pm
Subject:bzr push into mysql-trunk branch (kevin.lewis:5180 to 5181) Bug#16305265
View as plain text  
 5181 kevin.lewis@stripped	2013-02-27 [merge]
      Merge Bug#16305265 from mysql-5.6 to mysql-trunk

    modified:
      storage/innobase/fts/fts0pars.cc
      storage/innobase/handler/ha_innodb.cc
      storage/innobase/include/trx0trx.h
      storage/innobase/row/row0mysql.cc
      storage/innobase/srv/srv0srv.cc
 5180 Marko Mäkelä	2013-02-27 [merge]
      (Null) merge mysql-5.6 to mysql-trunk.

=== modified file 'storage/innobase/fts/fts0pars.cc'
--- a/storage/innobase/fts/fts0pars.cc	revid:marko.makela@stripped
+++ b/storage/innobase/fts/fts0pars.cc	revid:kevin.lewis@stripped-20130227192348-mmx0ndkb4ngplbqa
@@ -717,11 +717,6 @@ yy_symbol_value_print (yyoutput, yytype,
 # else
   YYUSE (yyoutput);
 # endif
-  switch (yytype)
-    {
-      default:
-	break;
-    }
 }
 
 
@@ -1081,13 +1076,6 @@ yydestruct (yymsg, yytype, yyvaluep)
   if (!yymsg)
     yymsg = "Deleting";
   YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
-
-  switch (yytype)
-    {
-
-      default:
-	break;
-    }
 }
 
 /* Prevent warnings from -Wmissing-prototypes.  */

=== modified file 'storage/innobase/handler/ha_innodb.cc'
--- a/storage/innobase/handler/ha_innodb.cc	revid:marko.makela@strippedjvhlve4vj241e
+++ b/storage/innobase/handler/ha_innodb.cc	revid:kevin.lewis@strippedlbqa
@@ -10136,8 +10136,10 @@ innobase_rename_table(
 
 	DEBUG_SYNC_C("innodb_rename_table_ready");
 
+	trx_start_for_ddl(trx, TRX_DICT_OP_INDEX);
+
 	/* Serialize data dictionary operations with dictionary mutex:
-	no deadlocks can occur then in these operations */
+	no deadlocks can occur then in these operations. */
 
 	row_mysql_lock_data_dictionary(trx);
 

=== modified file 'storage/innobase/include/trx0trx.h'
--- a/storage/innobase/include/trx0trx.h	revid:marko.makela@strippedve4vj241e
+++ b/storage/innobase/include/trx0trx.h	revid:kevin.lewis@stripped
@@ -676,7 +676,7 @@ lock_sys->mutex and sometimes by trx->mu
 struct trx_t{
 	ulint		magic_n;
 
-	ib_mutex_t		mutex;		/*!< Mutex protecting the fields
+	ib_mutex_t	mutex;		/*!< Mutex protecting the fields
 					state and lock
 					(except some fields of lock, which
 					are protected by lock_sys->mutex) */

=== modified file 'storage/innobase/row/row0mysql.cc'
--- a/storage/innobase/row/row0mysql.cc	revid:marko.makela@strippede4vj241e
+++ b/storage/innobase/row/row0mysql.cc	revid:kevin.lewis@stripped
@@ -4948,6 +4948,7 @@ row_rename_table_for_mysql(
 
 	ut_a(old_name != NULL);
 	ut_a(new_name != NULL);
+	ut_ad(trx->state == TRX_STATE_ACTIVE);
 
 	if (srv_sys_space.created_new_raw() || srv_force_recovery) {
 		fputs("InnoDB: A new raw disk partition was initialized or\n"
@@ -4972,7 +4973,6 @@ row_rename_table_for_mysql(
 	}
 
 	trx->op_info = "renaming table";
-	trx_start_if_not_started_xa(trx);
 
 	old_is_tmp = row_is_mysql_tmp_table_name(old_name);
 	new_is_tmp = row_is_mysql_tmp_table_name(new_name);

=== modified file 'storage/innobase/srv/srv0srv.cc'
--- a/storage/innobase/srv/srv0srv.cc	revid:marko.makela@strippedm-20130227180656-7o1jvhlve4vj241e
+++ b/storage/innobase/srv/srv0srv.cc	revid:kevin.lewis@stripped8-mmx0ndkb4ngplbqa
@@ -1438,7 +1438,7 @@ srv_export_innodb_status(void)
 		export_vars.innodb_purge_trx_id_age = 0;
 	} else {
 		export_vars.innodb_purge_trx_id_age =
-			trx_sys->rw_max_trx_id - done_trx_no + 1;
+			(ulint) (trx_sys->rw_max_trx_id - done_trx_no + 1);
 	}
 
 	if (!up_limit_id
@@ -1446,7 +1446,7 @@ srv_export_innodb_status(void)
 		export_vars.innodb_purge_view_trx_id_age = 0;
 	} else {
 		export_vars.innodb_purge_view_trx_id_age =
-			trx_sys->rw_max_trx_id - up_limit_id;
+			(ulint) (trx_sys->rw_max_trx_id - up_limit_id);
 	}
 #endif /* UNIV_DEBUG */
 

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk branch (kevin.lewis:5180 to 5181) Bug#16305265kevin.lewis4 Apr