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-18 19:42:04+04:00, gluh@stripped +1 -0
Bug#35406 5.1-opt crashes on select from I_S.REFERENTIAL_CONSTRAINTS
added intialization of f_key_info.referenced_key_name for the case when
referenced table is dropped
storage/innobase/handler/ha_innodb.cc@stripped, 2008-03-18 19:41:43+04:00, gluh@stripped
+2 -0
added intialization of f_key_info.referenced_key_name for the case when
referenced table is dropped
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-18 19:41:43 +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));
| Thread |
|---|
| • bk commit into 5.1 tree (gluh:1.2563) BUG#35406 | gluh | 18 Mar |