summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnamalai Gurusami <annamalai.gurusami@oracle.com>2012-04-18 15:16:11 +0530
committerAnnamalai Gurusami <annamalai.gurusami@oracle.com>2012-04-18 15:16:11 +0530
commit46c51c40e1239d1257c562236c95ec0154ece266 (patch)
tree25e65297be47864069c47092e216b09dbda8bd23
parent0eea06c5d0ad1aa22b1396440842ba8c975faebb (diff)
downloadmariadb-git-46c51c40e1239d1257c562236c95ec0154ece266.tar.gz
Bug #12902967 Creating self referencing fk on same index unhandled,
confusing error. Updated the test script to work properly on windows platform.
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug12902967.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysql-test/suite/innodb/t/innodb_bug12902967.test b/mysql-test/suite/innodb/t/innodb_bug12902967.test
index 9101c8c705b..7bc5727a7a6 100644
--- a/mysql-test/suite/innodb/t/innodb_bug12902967.test
+++ b/mysql-test/suite/innodb/t/innodb_bug12902967.test
@@ -10,7 +10,6 @@
--source include/not_embedded.inc
let error_log= $MYSQLTEST_VARDIR/log/mysqld.1.err;
---remove_file $error_log
--source include/restart_mysqld.inc
create table t1 (f1 integer primary key) engine innodb;
@@ -21,7 +20,7 @@ create table t1 (f1 integer primary key) engine innodb;
--replace_regex /'\.\/test\/#sql-[0-9a-f_]*'/'#sql-temporary'/
--error ER_ERROR_ON_RENAME
alter table t1 add constraint c1 foreign key (f1) references t1(f1);
-
+--source include/restart_mysqld.inc
perl;
$file = "$ENV{'error_log'}";