List:Commits« Previous MessageNext Message »
From:marko.makela Date:October 17 2012 6:24am
Subject:bzr push into mysql-5.6 branch (marko.makela:4485 to 4486)
View as plain text  
 4486 Marko Mäkelä	2012-10-17
      dict_set_corrupted(): Initialize the trailing NUL byte of table_name.

    modified:
      storage/innobase/dict/dict0dict.cc
 4485 Amit Bhattacharya	2012-10-17
      Added test for multi-table UPDATE/DELETE

    added:
      mysql-test/include/multi_table_del_sj.inc
      mysql-test/include/multi_table_upd_sj.inc
      mysql-test/r/multi_table_upd_del_sj.result
      mysql-test/t/multi_table_upd_del_sj.test
=== modified file 'storage/innobase/dict/dict0dict.cc'
--- a/storage/innobase/dict/dict0dict.cc	revid:amit.bhattacharya@oracle.com-20121017051551-35o62v834f7ecerd
+++ b/storage/innobase/dict/dict0dict.cc	revid:marko.makela@stripped20121017062110-v59y6gj7ikil3fge
@@ -5493,10 +5493,10 @@ fail:
 	mtr_commit(&mtr);
 	mem_heap_empty(heap);
 	table_name = static_cast<char*>(mem_heap_alloc(heap, FN_REFLEN + 1));
-	innobase_convert_name(
+	*innobase_convert_name(
 		table_name, FN_REFLEN,
 		index->table_name, strlen(index->table_name),
-		NULL, TRUE);
+		NULL, TRUE) = 0;
 
 	ib_logf(IB_LOG_LEVEL_ERROR, "%s corruption of %s in table %s in %s",
 		status, index->name, table_name, ctx);

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.6 branch (marko.makela:4485 to 4486) marko.makela17 Oct