diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-10-09 16:48:19 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-10-09 16:48:19 +0000 |
commit | a4e3943b3fe6b4fdbca58d5fb41bbafd22a92c15 (patch) | |
tree | 8cbafa34e4105e182bc203530d29c965af327ce0 /src/interfaces/jdbc/org/postgresql/PGStatement.java | |
parent | c4ccc6146bfe2d20140da2e388e0d62b41c96f9b (diff) | |
download | postgresql-a4e3943b3fe6b4fdbca58d5fb41bbafd22a92c15.tar.gz |
Back out Gunnar R|nning jdbc changes.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/PGStatement.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/PGStatement.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/PGStatement.java b/src/interfaces/jdbc/org/postgresql/PGStatement.java deleted file mode 100644 index 85fd5a5b85..0000000000 --- a/src/interfaces/jdbc/org/postgresql/PGStatement.java +++ /dev/null @@ -1,26 +0,0 @@ -package org.postgresql; - -import java.sql.Statement; -import java.sql.SQLException; - -public abstract class PGStatement implements Statement { - public ObjectPool inusemap_dim1[]; - public ObjectPool inusemap_dim2[]; - protected Connection connection; - - public PGStatement(Connection connection){ - this.connection = connection; - inusemap_dim1 = connection.pg_stream.factory_dim1.getObjectPoolArr(); - inusemap_dim2 = connection.pg_stream.factory_dim2.getObjectPoolArr(); - } - - public void deallocate(){ - connection.pg_stream.deallocate(this); - } - - public void close() throws SQLException { - deallocate(); - connection.pg_stream.factory_dim1.releaseObjectPoolArr(inusemap_dim1); - connection.pg_stream.factory_dim2.releaseObjectPoolArr(inusemap_dim2); - } -} |