Navigation Menu

Skip to content

Commit

Permalink
0002444: DbExport fails when using "MSSQL" Type. - Don't mutate local
Browse files Browse the repository at this point in the history
'compatible' field.
  • Loading branch information
mmichalek committed Nov 12, 2015
1 parent fd21d4c commit 761c5ce
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -397,10 +397,12 @@ public int getMaxRows() {
}

protected String getDatabaseName() {
if (compatible == Compatible.MSSQL) {
compatible = Compatible.MSSQL2000;
Compatible mappedCompatible = compatible;

if (mappedCompatible == Compatible.MSSQL) {
mappedCompatible = Compatible.MSSQL2000;
}
return compatible.toString().toLowerCase();
return mappedCompatible.toString().toLowerCase();
}

class WriterWrapper {
Expand Down

0 comments on commit 761c5ce

Please sign in to comment.