Skip to content

Commit

Permalink
MONDRIAN - Fixed DialectTest so it runs on LucidDb
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 9291]
  • Loading branch information
Zelaine Fong committed May 21, 2007
1 parent e3a0d48 commit c9de91a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testsrc/main/mondrian/test/DialectTest.java
Expand Up @@ -101,7 +101,9 @@ public void testAllowsCompoundCountDistinct() {
// access
"\\[Microsoft\\]\\[ODBC Microsoft Access Driver\\] Syntax error \\(missing operator\\) in query expression '.*'.",
// postgres
"ERROR: function count\\(integer, integer\\) does not exist"
"ERROR: function count\\(integer, integer\\) does not exist",
// LucidDb
".*Invalid number of arguments to function 'COUNT'. Was expecting 1 arguments"
};
assertQueryFails(sql, errs);
}
Expand Down Expand Up @@ -314,8 +316,8 @@ public void testResultSetConcurrency() {
if (b) {
fail("expected to succeed for type=" + type +
", concur=" + concur);
throw Util.newInternal(e, "query [" + sql + "] failed");
}
throw Util.newInternal(e, "query [" + sql + "] failed");
} finally {
if (stmt != null) {
try {
Expand Down

0 comments on commit c9de91a

Please sign in to comment.