List:Commits« Previous MessageNext Message »
From:marko.makela Date:September 7 2012 11:18am
Subject:bzr push into mysql-trunk branch (marko.makela:4437 to 4438)
View as plain text  
 4438 Marko Mäkelä	2012-09-07 [merge]
      Merge mysql-5.6 to mysql-trunk.

    modified:
      storage/innobase/row/row0merge.cc
 4437 Tor Didriksen	2012-09-07 [merge]
      merge 5.6 => trunk

    modified:
      CMakeLists.txt
      cmake/configure.pl
=== modified file 'storage/innobase/row/row0merge.cc'
--- a/storage/innobase/row/row0merge.cc	revid:tor.didriksen@stripped04tsbexph8lkqhj
+++ b/storage/innobase/row/row0merge.cc	revid:marko.makela@stripped29e
@@ -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-trunk branch (marko.makela:4437 to 4438) marko.makela13 Sep