Bug #69939 | ALTER TABLE for Adding Foreign Key crashes MySql Server after disabling FK Check | ||
---|---|---|---|
Submitted: | 6 Aug 2013 12:49 | Modified: | 12 Aug 2013 3:02 |
Reporter: | Unnikrishnan K N | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | MySQL-server-5.6.10 | OS: | Any (RHEL6 64-bit , kernel 2.6.32-71.el6.x86_64) |
Assigned to: | CPU Architecture: | Any |
[6 Aug 2013 12:49]
Unnikrishnan K N
[6 Aug 2013 12:51]
Unnikrishnan K N
MySql Server Error
Attachment: MySql_Server_Error (application/octet-stream, text), 4.95 KiB.
[6 Aug 2013 12:57]
MySQL Verification Team
Thank you for the bug report. Please try version 5.6.13. I couldn't repeat with 5.6.12 and current source server. Thanks.
[6 Aug 2013 16:55]
Hartmut Holzgraefe
I can reproduce it with 5.6.10 and the given SQL script, but not with 5.6.13 anymore, so seems to be fixed indeed?
[6 Aug 2013 16:55]
Hartmut Holzgraefe
Would still be nice to have a regression test case for this though?
[6 Aug 2013 17:38]
MySQL Verification Team
5.6.10 initial valgrind error: Invalid read of size 1 at: __GI_strcmp (mc_replace_strmem.c:731) by: ha_innobase::prepare_inplace_alter_table (ut0mem.ic:98) by: handler::ha_prepare_inplace_alter_table (handler.cc:4249) by: mysql_inplace_alter_table (sql_table.cc:6388) by: mysql_alter_table (sql_table.cc:8098) by: Sql_cmd_alter_table::execute (sql_alter.cc:313) by: mysql_execute_command (sql_parse.cc:4871) by: mysql_parse (sql_parse.cc:6149) by: dispatch_command (sql_parse.cc:1334) by: do_command (sql_parse.cc:1036) by: do_handle_one_connection (sql_connect.cc:969) by: handle_one_connection (sql_connect.cc:885) by: start_thread (pthread_create.c:309) by: clone (clone.S:115) Address 0x0 is not stack'd, malloc'd or (recently) free'd This bug is fixed in 5.6.12.
[7 Aug 2013 5:37]
Unnikrishnan K N
Thanks Shane for clarification , I had tried the same script in "MySQL-server-5.6.13" which worked fine . So I think this got fixed , but I am not able find any relevant entries in the change pages of mysql release 5.6.12 and 5.6.13.Can you please give the fixed issue details so that we can re-confirm that we are in right track.
[12 Aug 2013 3:02]
MySQL Verification Team
We conclude it was a duplicate of Bug #16413976 (noted in change history).