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 56647fe commit 9cfc66e
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -406,10 +406,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 9cfc66e

Please sign in to comment.