List:Commits« Previous MessageNext Message »
From:Alex Ivanov Notebook Date:June 6 2006 9:05pm
Subject:bk commit into 4.1 tree (aivanov:1.2473) BUG#19727
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of alexi. When alexi does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2473 06/06/06 23:05:10 aivanov@stripped +1 -0
  Applied innodb-4.1-ss31 snapshot.
   Fixed BUG#19727 "InnoDB crashed server and crashed tables
   are not recoverable".

  innobase/row/row0mysql.c
    1.95 06/06/06 23:05:07 aivanov@stripped +10 -10
    Applied innodb-4.1-ss31 snapshot.
     Move trx_commit_for_mysql(trx) calls before calls to
     row_mysql_unlock_data_dictionary(trx).

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	aivanov
# Host:	mysqld.localdomain
# Root:	/home/alexi/innodb/mysql-4.1-ss31

--- 1.94/innobase/row/row0mysql.c	2006-04-20 23:09:46 +04:00
+++ 1.95/innobase/row/row0mysql.c	2006-06-06 23:05:07 +04:00
@@ -2237,14 +2237,14 @@
 		}
 	}
 funct_exit:	
+  	trx_commit_for_mysql(trx);
+
 	row_mysql_unlock_data_dictionary(trx);
 
 	if (graph) {
 		que_graph_free(graph);
 	}
 
-  	trx_commit_for_mysql(trx);
-
 	trx->op_info = "";
 
 	return((int) err);
@@ -2374,10 +2374,10 @@
 	}
 
 funct_exit:	
-	row_mysql_unlock_data_dictionary(trx);
-
   	trx_commit_for_mysql(trx);
 
+	row_mysql_unlock_data_dictionary(trx);
+
 	trx->op_info = "";
 
 	return((int) err);
@@ -2769,6 +2769,8 @@
 	}
 funct_exit:
 
+  	trx_commit_for_mysql(trx);
+
 	if (locked_dictionary) {
 		row_mysql_unlock_data_dictionary(trx);	
 	}
@@ -2779,8 +2781,6 @@
 
 	que_graph_free(graph);
 	
-  	trx_commit_for_mysql(trx);
-
 	trx->op_info = "";
 
 	srv_wake_master_thread();
@@ -2857,10 +2857,10 @@
 		}
 	}
 
-	row_mysql_unlock_data_dictionary(trx);
-	
 	trx_commit_for_mysql(trx);
 
+	row_mysql_unlock_data_dictionary(trx);
+	
 	trx->op_info = "";
 
 	return(err);
@@ -3272,6 +3272,8 @@
 		}
 	}
 funct_exit:	
+  	trx_commit_for_mysql(trx);
+
 	if (!recovering_temp_table) {
 		row_mysql_unlock_data_dictionary(trx);
 	}
@@ -3284,8 +3286,6 @@
 		mem_heap_free(heap);
 	}
 	
-  	trx_commit_for_mysql(trx);
-
 	trx->op_info = "";
 
 	return((int) err);
Thread
bk commit into 4.1 tree (aivanov:1.2473) BUG#19727Alex Ivanov Notebook6 Jun