From: Date: March 17 2008 12:17pm Subject: bk commit into 5.1 tree (gluh:1.2563) BUG#35108 List-Archive: http://lists.mysql.com/commits/44101 X-Bug: 35108 Message-Id: <20080317111744.639EDD60253@mgluh.home> Below is the list of changes that have just been committed into a local 5.1 repository of gluh. When gluh 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@stripped, 2008-03-17 15:17:38+04:00, gluh@stripped +1 -0 additional fix for Bug#35108 SELECT FROM REFERENTIAL_CONSTRAINTS crashes storage/innobase/handler/ha_innodb.cc@stripped, 2008-03-17 15:16:39+04:00, gluh@stripped +2 -0 additional fix for Bug#35108 SELECT FROM REFERENTIAL_CONSTRAINTS crashes diff -Nrup a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc --- a/storage/innobase/handler/ha_innodb.cc 2008-02-19 06:11:25 +04:00 +++ b/storage/innobase/handler/ha_innodb.cc 2008-03-17 15:16:39 +04:00 @@ -6207,6 +6207,8 @@ ha_innobase::get_foreign_key_list(THD *t foreign->referenced_index->name, strlen(foreign->referenced_index->name), 1); } + else + f_key_info.referenced_key_name= 0; FOREIGN_KEY_INFO *pf_key_info = (FOREIGN_KEY_INFO *) thd_memdup(thd, &f_key_info, sizeof(FOREIGN_KEY_INFO));