List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:July 10 2009 12:19pm
Subject:bzr commit into mysql-5.1-bugteam branch (davi:3022) Bug#21704
View as plain text  
# At a local mysql-5.1-bugteam repository of davi

 3022 Davi Arnaut	2009-07-10
      Bug#21704: Renaming column does not update FK definition
      
      Remove commented-out test case. It has been moved to innodb_bug21704.test

    modified:
      mysql-test/include/mix1.inc
=== modified file 'mysql-test/include/mix1.inc'
--- a/mysql-test/include/mix1.inc	2009-07-07 12:52:34 +0000
+++ b/mysql-test/include/mix1.inc	2009-07-10 12:19:19 +0000
@@ -1504,37 +1504,6 @@ SELECT * FROM t1 FORCE INDEX (PRIMARY) W
 
 DROP TABLE t1;
 
-#
-# Bug#21704: Renaming column does not update FK definition.
-#
-
-#
-# --disable_warnings
-# DROP TABLE IF EXISTS t1;
-# DROP TABLE IF EXISTS t2;
-# --enable_warnings
-#
-# CREATE TABLE t1(id INT PRIMARY KEY)
-#   ENGINE=innodb;
-#
-# CREATE TABLE t2(
-#   t1_id INT PRIMARY KEY,
-#   CONSTRAINT fk1 FOREIGN KEY (t1_id) REFERENCES t1(id))
-#   ENGINE=innodb;
-#
-# --echo
-#
-# --disable_result_log
-# --error ER_ERROR_ON_RENAME
-# ALTER TABLE t1 CHANGE id id2 INT;
-# --enable_result_log
-#
-# --echo
-#
-# DROP TABLE t2;
-# DROP TABLE t1;
-#
-
 --echo #
 --echo # Bug #44290: explain crashes for subquery with distinct in
 --echo #             SQL_SELECT::test_quick_select


Attachment: [text/bzr-bundle] bzr/davi.arnaut@sun.com-20090710121919-jagtqruuj66nug8n.bundle
Thread
bzr commit into mysql-5.1-bugteam branch (davi:3022) Bug#21704Davi Arnaut10 Jul