List:Commits« Previous MessageNext Message »
From:kevin.lewis Date:December 7 2010 11:26pm
Subject:bzr commit into mysql-5.5-innodb branch (kevin.lewis:3257) Bug#55222
View as plain text  
#At file:///Users/kevinlewis/Work/Mysql/55222.push/mysql-5.5-innodb/ based on revid:vasil.dimov@stripped

 3257 kevin.lewis@stripped	2010-12-07
      Bug#55222 - Previous patch had a bug in unused code which was reactivated in mysql-trunk-innodb in rev revno: 3367 timestamped Tue 2010-12-07 02:25:25-0800. The crash happens only when lower_case_table_names=2, such as on MacOS, when running the new testcase innodb-system-table-view.   Specifically, it crashes when any query is made against the INFORMATION_SCHEMA.INNODB_SYS_FOREIGN table.

    modified:
      storage/innobase/dict/dict0load.c
=== modified file 'storage/innobase/dict/dict0load.c'
--- a/storage/innobase/dict/dict0load.c	revid:vasil.dimov@stripped
+++ b/storage/innobase/dict/dict0load.c	revid:kevin.lewis@stripped
@@ -469,6 +469,8 @@ dict_process_sys_foreign_rec(
 err_len:
 		return("incorrect column length in SYS_FOREIGN");
 	}
+
+	foreign->heap = heap;
 	foreign->id = mem_heap_strdupl(heap, (const char*) field, len);
 
 	rec_get_nth_field_offs_old(rec, 1/*DB_TRX_ID*/, &len);


Attachment: [text/bzr-bundle] bzr/kevin.lewis@oracle.com-20101207232651-cd2vh78p9bc611vk.bundle
Thread
bzr commit into mysql-5.5-innodb branch (kevin.lewis:3257) Bug#55222kevin.lewis8 Dec