summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Lind <barry@xythos.com>2002-11-20 20:42:24 +0000
committerBarry Lind <barry@xythos.com>2002-11-20 20:42:24 +0000
commitce35ce91f9618db33f140800a40745f9549dab00 (patch)
tree6a65bfae937c6b62bddbf3e7cac465080108a50f /src
parente994389d7bbbd117a072ea4806350a6ed5444e59 (diff)
Fix a stupid cut and paste error from the commit last night.
Modified Files: Tag: REL7_3_STABLE AbstractJdbc2Statement.java
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java b/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
index e03f7ee363e..3067ac58385 100644
--- a/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
+++ b/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
@@ -8,7 +8,7 @@ import java.util.Vector;
import org.postgresql.largeobject.*;
import org.postgresql.util.PSQLException;
-/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.8.2.1 2002/11/20 07:54:27 barry Exp $
+/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.8.2.2 2002/11/20 20:42:24 barry Exp $
* This class defines methods of the jdbc2 specification. This class extends
* org.postgresql.jdbc1.AbstractJdbc1Statement which provides the jdbc1
* methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2Statement
@@ -83,18 +83,18 @@ public abstract class AbstractJdbc2Statement extends org.postgresql.jdbc1.Abstra
String[] l_origBindTypes = m_bindTypes;
for (i = 0;i < size;i++) {
- //set state from batch
- Object[] l_statement = (Object[])batch.elementAt(i);
+ //set state from batch
+ Object[] l_statement = (Object[])batch.elementAt(i);
this.m_sqlFragments = (String[])l_statement[0];
this.m_binds = (Object[])l_statement[1];
this.m_bindTypes = (String[])l_statement[2];
result[i] = this.executeUpdate();
}
- //restore state of statement
- String[] m_sqlFragments = l_origSqlFragments;
- Object[] m_binds = l_origBinds;
- String[] m_bindTypes = l_origBindTypes;
+ //restore state of statement
+ m_sqlFragments = l_origSqlFragments;
+ m_binds = l_origBinds;
+ m_bindTypes = l_origBindTypes;
}
catch (SQLException e)