1111import org .postgresql .core .*;
1212
1313/*
14- * $Id: Connection.java,v 1.37 2001/11/19 23:16:45 momjian Exp $
14+ * $Id: Connection.java,v 1.38 2001/11/19 23:19:20 momjian Exp $
1515 *
1616 * This abstract class is used by org.postgresql.Driver to open either the JDBC1 or
1717 * JDBC2 versions of the Connection class.
@@ -817,7 +817,7 @@ public boolean isReadOnly() throws SQLException
817817public void setAutoCommit (boolean autoCommit )throws SQLException
818818{
819819if (this .autoCommit ==autoCommit )
820- return ;
820+ return ;
821821if (autoCommit )
822822ExecSQL ("end" );
823823else
@@ -860,7 +860,7 @@ public boolean getAutoCommit() throws SQLException
860860public void commit ()throws SQLException
861861{
862862if (autoCommit )
863- return ;
863+ return ;
864864if (haveMinimumServerVersion ("7.1" ))
865865{
866866ExecSQL ("commit;begin;" +getIsolationLevelSQL ());
@@ -884,7 +884,7 @@ public void commit() throws SQLException
884884public void rollback ()throws SQLException
885885{
886886if (autoCommit )
887- return ;
887+ return ;
888888if (haveMinimumServerVersion ("7.1" ))
889889{
890890ExecSQL ("rollback; begin;" +getIsolationLevelSQL ());