List:Commits« Previous MessageNext Message »
From:marko.makela Date:September 7 2012 11:43am
Subject:bzr push into mysql-5.6 branch (marko.makela:4248)
View as plain text  
 4248 Marko Mäkelä	2012-09-07 [merge]
      Empty merge of mysql-5.6 to working copy.

=== modified file 'storage/innobase/row/row0merge.cc'
--- a/storage/innobase/row/row0merge.cc	revid:akhil.mohan@stripped01bkfoqp4gr2e5e
+++ b/storage/innobase/row/row0merge.cc	revid:marko.makela@strippede3g
@@ -1614,11 +1614,7 @@ write_buffers:
 						err = DB_DUPLICATE_KEY;
 						trx->error_key_num
 							= key_numbers[i];
-						if (row) {
-							goto func_exit;
-						} else {
-							goto all_done;
-						}
+						break;
 					}
 				} else {
 					row_merge_buf_sort(buf, NULL);
@@ -1654,7 +1650,7 @@ write_buffers:
 					     block)) {
 				err = DB_OUT_OF_FILE_SPACE;
 				trx->error_key_num = i;
-				goto func_exit;
+				break;
 			}
 
 			UNIV_MEM_INVALID(&block[0], srv_sort_buf_size);
@@ -1683,6 +1679,10 @@ write_buffers:
 			goto all_done;
 		}
 
+		if (err != DB_SUCCESS) {
+			goto func_exit;
+		}
+
 		mem_heap_empty(row_heap);
 	}
 

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.6 branch (marko.makela:4248) marko.makela13 Sep