*** ./org/postgresql/core/v3/QueryExecutorImpl.java Fri Oct 14 12:34:44 2005 --- ../postgresql-jdbc-8.0-313.src original/./org/postgresql/core/v3/QueryExecutorImpl.java Tue Feb 1 01:27:54 2005 *************** *** 59,65 **** // also break the query into separate statements. ArrayList statementList = new ArrayList(); ! ArrayList fragmentList = new ArrayList(15); boolean inQuotes = false; int fragmentStart = 0; --- 59,65 ---- // also break the query into separate statements. ArrayList statementList = new ArrayList(); ! ArrayList fragmentList = new ArrayList(); boolean inQuotes = false; int fragmentStart = 0; *************** *** 67,77 **** boolean inSingleQuotes = false; boolean inDoubleQuotes = false; ! char[] aChars = query.toCharArray(); ! int aLen = aChars.length; ! for (int i = 0; i < aLen; ++i) { ! char c = aChars[i]; switch (c) { --- 67,75 ---- boolean inSingleQuotes = false; boolean inDoubleQuotes = false; ! for (int i = 0; i < query.length(); ++i) { ! char c = query.charAt(i); switch (c) { *** ./org/postgresql/jdbc2/AbstractJdbc2Connection.java Fri Oct 14 11:35:27 2005 --- ../postgresql-jdbc-8.0-313.src original/./org/postgresql/jdbc2/AbstractJdbc2Connection.java Tue Jun 21 15:11:52 2005 *************** *** 54,62 **** // Default statement prepare threshold. protected int prepareThreshold; - - protected boolean replaceProcessingEnabled = true; - // Connection's autocommit state. public boolean autoCommit = true; // Connection's readonly state. --- 54,59 ---- *************** *** 79,85 **** //standard out if no other printwriter is set // XXX revisit: need a debug level *per connection*. - replaceProcessingEnabled = !"false".equalsIgnoreCase(info.getProperty("replaceProcessingEnabled")); int logLevel = 0; try --- 76,81 ---- *** ./org/postgresql/jdbc2/AbstractJdbc2Statement.java Fri Oct 14 11:33:44 2005 --- ../postgresql-jdbc-8.0-313.src original/./org/postgresql/jdbc2/AbstractJdbc2Statement.java Mon Oct 3 12:26:36 2005 *************** *** 106,112 **** public AbstractJdbc2Statement (AbstractJdbc2Connection c, int rsType, int rsConcurrency) throws SQLException { this.connection = c; - replaceProcessingEnabled = c.replaceProcessingEnabled; this.preparedQuery = null; this.preparedParameters = null; this.lastSimpleQuery = null; --- 106,111 ---- *************** *** 117,123 **** public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException { this.connection = connection; - replaceProcessingEnabled = connection.replaceProcessingEnabled; this.lastSimpleQuery = null; String parsed_sql = replaceProcessing(sql); --- 116,121 ----