Skip to content

Commit

Permalink
Merge pull request #845 from dreab8/unique-index
Browse files Browse the repository at this point in the history
unique index schema creation check also for add constraint unique
  • Loading branch information
scottmarlow committed Feb 17, 2022
2 parents dabff79 + cf8ee64 commit 04dd2a0
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -177,6 +177,15 @@ public void indexTest() throws Fault {
"CREATE UNIQUE INDEX SCHEMAGENSIMPLE_SVALUE3 ON SCHEMAGENSIMPLE (SVALUE3)");
pass1d = pass1d || findDataInFile(f1, expected);

expected.clear();
expected.add("ALTER TABLE SCHEMAGENSIMPLE");
expected.add("ADD");
expected.add("CONSTRAINT");
expected.add("SCHEMAGENSIMPLE_SVALUE3");
expected.add("UNIQUE");

pass1d = pass1d || findDataInFile(f1, expected);

pass2a = findDataInFile(f2, "DROP TABLE SCHEMAGENSIMPLE");
/*
* Index can be dropped using ALTER TABLE AS WELL Bug 27422087: Some
Expand Down

0 comments on commit 04dd2a0

Please sign in to comment.