提交 794f82e4 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting and replace unknown words with known ones.

上级 1aa35d50
...@@ -368,8 +368,8 @@ public class TestTriggersConstraints extends TestBase implements Trigger { ...@@ -368,8 +368,8 @@ public class TestTriggersConstraints extends TestBase implements Trigger {
} }
/** /**
* Regression test: we had a bug where the AlterTableAddConstraint class used to sometimes pick the wrong * Regression test: we had a bug where the AlterTableAddConstraint class
* unique index for a foreign key. * used to sometimes pick the wrong unique index for a foreign key.
*/ */
private void testMultiPartForeignKeys() throws SQLException { private void testMultiPartForeignKeys() throws SQLException {
Connection conn = getConnection("trigger"); Connection conn = getConnection("trigger");
...@@ -378,7 +378,7 @@ public class TestTriggersConstraints extends TestBase implements Trigger { ...@@ -378,7 +378,7 @@ public class TestTriggersConstraints extends TestBase implements Trigger {
stat.execute("DROP TABLE IF EXISTS TEST2"); stat.execute("DROP TABLE IF EXISTS TEST2");
stat.execute("create table test1(id int primary key, col1 int)"); stat.execute("create table test1(id int primary key, col1 int)");
stat.execute("alter table test1 add constraint unq_test1 " + stat.execute("alter table test1 add constraint unique_test1 " +
"unique (id,col1)"); "unique (id,col1)");
stat.execute("create table test2(id int primary key, col1 int)"); stat.execute("create table test2(id int primary key, col1 int)");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论