Skip to content

Commit

Permalink
MONDRIAN: Bugfix when using a DataSource
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 535]
  • Loading branch information
Andreas Voss committed May 26, 2003
1 parent 7c07d90 commit c36e0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/mondrian/rolap/RolapConnection.java
Expand Up @@ -78,9 +78,9 @@ public RolapConnection(Util.PropertyList connectInfo) {
"' must contain either '" + RolapConnectionProperties.Jdbc +
"' or '" + RolapConnectionProperties.DataSource + "'");
}
this.catalogName = connectInfo.get(RolapConnectionProperties.Catalog);
if (jdbcConnectString != null) {
// Get connection through JDBC DriverManager.
this.catalogName = connectInfo.get(RolapConnectionProperties.Catalog);
String provider = connectInfo.get(RolapConnectionProperties.Provider);
Util.assertTrue(provider.equalsIgnoreCase("mondrian"));
String jdbcDrivers = connectInfo.get(RolapConnectionProperties.JdbcDrivers);
Expand Down

0 comments on commit c36e0f1

Please sign in to comment.