Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e2a980

Browse files
author
Barry Lind
committed
Applied patch from Fernando Nasser to fix up small type error
1 parentece84bf commit9e2a980

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
importjava.sql.Types;
2626
importjava.util.Vector;
2727

28-
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Statement.java,v 1.23 2003/05/29 04:48:33 barry Exp $
28+
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Statement.java,v 1.24 2003/05/29 04:52:44 barry Exp $
2929
* This class defines methods of the jdbc1 specification. This class is
3030
* extended by org.postgresql.jdbc2.AbstractJdbc2Statement which adds the jdbc2
3131
* methods. The real Statement class (for jdbc1) is org.postgresql.jdbc1.Jdbc1Statement
@@ -144,7 +144,7 @@ protected void parseSqlStmt (String p_sql) throws SQLException
144144
v.addElement(l_sql.substring (lastParmEnd,l_sql.length()));
145145

146146
m_sqlFragments =newString[v.size()];
147-
m_binds =newString[v.size() -1];
147+
m_binds =newObject[v.size() -1];
148148
m_bindTypes =newString[v.size() -1];
149149

150150
for (i =0 ;i <m_sqlFragments.length; ++i)

‎src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
importorg.postgresql.largeobject.*;
1010
importorg.postgresql.util.PSQLException;
1111

12-
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.13 2003/03/14 01:21:47 barry Exp $
12+
/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2Statement.java,v 1.14 2003/05/29 04:52:44 barry Exp $
1313
* This class defines methods of the jdbc2 specification. This class extends
1414
* org.postgresql.jdbc1.AbstractJdbc1Statement which provides the jdbc1
1515
* methods. The real Statement class (for jdbc2) is org.postgresql.jdbc2.Jdbc2Statement
@@ -175,7 +175,7 @@ public void addBatch() throws SQLException
175175
l_newSqlFragments =newString[m_sqlFragments.length];
176176
System.arraycopy(m_sqlFragments,0,l_newSqlFragments,0,m_sqlFragments.length);
177177
}
178-
Object[]l_newBinds =newString[m_binds.length];
178+
Object[]l_newBinds =newObject[m_binds.length];
179179
System.arraycopy(m_binds,0,l_newBinds,0,m_binds.length);
180180
String[]l_newBindTypes =newString[m_bindTypes.length];
181181
System.arraycopy(m_bindTypes,0,l_newBindTypes,0,m_bindTypes.length);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp