Skip to content

Commit

Permalink
MONDRIAN: More Sybase support.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 2782]
  • Loading branch information
julianhyde committed Oct 20, 2004
1 parent e009ad4 commit e48aada
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/mondrian/olap/Mondrian.xml
Expand Up @@ -585,6 +585,7 @@ todo:
<Value>postgres</Value>
<Value>hsqldb</Value>
<Value>mssql</Value>
<Value>sybase</Value>
</Attribute>
<CData/>
</Element>
Expand Down
6 changes: 3 additions & 3 deletions src/main/mondrian/rolap/sql/SqlQuery.java
Expand Up @@ -282,16 +282,16 @@ public String chooseQuery(MondrianDef.SQL[] sqls) {
String best;
if (isOracle()) {
best = "oracle";
} else if (isMSSql()) {
} else if (isMSSql() || isMSSQL()) {
best = "mssql";
} else if (isMySQL()) {
best = "mysql";
} else if (isAccess()) {
best = "access";
} else if (isPostgres()) {
best = "postgres";
} else if (isMSSQL()) {
best = "mssql";
} else if (isSybase()) {
best = "sybase";
} else {
best = "generic";
}
Expand Down

0 comments on commit e48aada

Please sign in to comment.