From: SVN by r. <sv...@ca...> - 2009-12-17 15:45:47
|
Author: roy Date: 2009-12-17 16:45:34 +0100 (Thu, 17 Dec 2009) New Revision: 443 Modified: src/main/java/nl/improved/sqlclient/commands/SettingsCommand.java Log: log correct setting for readAutoCommit Modified: src/main/java/nl/improved/sqlclient/commands/SettingsCommand.java =================================================================== --- src/main/java/nl/improved/sqlclient/commands/SettingsCommand.java 2009-12-17 15:45:00 UTC (rev 442) +++ src/main/java/nl/improved/sqlclient/commands/SettingsCommand.java 2009-12-17 15:45:34 UTC (rev 443) @@ -35,7 +35,7 @@ char readAutoCommit = cmdString.charAt(cmdString.indexOf('=')+1); if (readAutoCommit == 'Y' || readAutoCommit == 'N') { ReadCommand.setAutoCommit(readAutoCommit == 'Y'); - return new SimpleCommandResult(true, "Auto commit for the read command is set to '"+ResultBuilder.getVerticalSeparator()+"'."); + return new SimpleCommandResult(true, "Auto commit for the read command is set to '"+ReadCommand.getAutoCommit()+"'."); } else { return new SimpleCommandResult(false, "Auto commit for the read command can only be set to 'Y' or 'N' (value: " + readAutoCommit+")"); } |