From: Annamalai Gurusami Date: April 18 2012 3:57am Subject: bzr push into mysql-5.5 branch (annamalai.gurusami:3789 to 3790) Bug#12902967 List-Archive: http://lists.mysql.com/commits/143559 X-Bug: 12902967 Message-Id: <201204180357.q3I3vcSC017250@acsmt357.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 3790 Annamalai Gurusami 2012-04-18 Bug #12902967 Creating self referencing fk on same index unhandled, confusing error. I have added the not_embedded.inc in the test file. modified: mysql-test/suite/innodb/t/innodb_bug12902967.test 3789 Annamalai Gurusami 2012-04-17 Bug #12902967 CREATING SELF REFERENCING FK ON SAME INDEX UNHANDLED, CONFUSING ERROR The main confusion with the error message is that "it implies that your data dictionary may now be out of sync". This patch will remove the unwanted and the misleading error message by not doing an unnecessary operation in the error handling code. rb://980 approved by: Dmitry Lenev added: mysql-test/suite/innodb/r/innodb_bug12902967.result mysql-test/suite/innodb/t/innodb_bug12902967.test modified: sql/sql_table.cc === modified file 'mysql-test/suite/innodb/t/innodb_bug12902967.test' --- a/mysql-test/suite/innodb/t/innodb_bug12902967.test revid:annamalai.gurusami@stripped +++ b/mysql-test/suite/innodb/t/innodb_bug12902967.test revid:annamalai.gurusami@stripped @@ -7,6 +7,7 @@ # of sync: --source include/have_innodb.inc +--source include/not_embedded.inc let error_log= $MYSQLTEST_VARDIR/log/mysqld.1.err; --remove_file $error_log No bundle (reason: useless for push emails).