db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lily...@apache.org
Subject svn commit: r1083501 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
Date Sun, 20 Mar 2011 16:41:27 GMT
Author: lilywei
Date: Sun Mar 20 16:41:26 2011
New Revision: 1083501

URL: http://svn.apache.org/viewvc?rev=1083501&view=rev
Log:
DERBY-5092 avoid Boolean allocations for rowset data in client cursor

I made a mistake to checkin ReplicationMessageTransmit.java. Back out the change.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java?rev=1083501&r1=1083500&r2=1083501&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageTransmit.java
Sun Mar 20 16:41:26 2011
@@ -31,7 +31,6 @@ import javax.net.SocketFactory;
 import org.apache.derby.iapi.error.StandardException;
 import org.apache.derby.iapi.reference.SQLState;
 import org.apache.derby.iapi.util.InterruptStatus;
-import org.apache.derby.impl.store.replication.ReplicationLogger;
 import org.apache.derby.shared.common.reference.MessageId;
 
 /**
@@ -369,14 +368,11 @@ public class ReplicationMessageTransmit 
                 } catch (SocketTimeoutException ste) {
                     // ignore socket timeout on reads
                 } catch (ClassNotFoundException cnfe) {
-                    ReplicationLogger repLogger = new ReplicationLogger(dbname);
-                    repLogger.logError(MessageId.REPLICATION_ERROR_BEGIN, cnfe);
+                    // TODO: print problem to log
                 } catch (IOException ex) {
                     // TODO: print problem to log
                     // If we get an exception for this socket, the log shipper
                     // will clean up. Stop this thread.
-                    ReplicationLogger repLogger = new ReplicationLogger(dbname);
-                    repLogger.logError(MessageId.REPLICATION_ERROR_BEGIN, ex);          
         
                     stopMessageReceiver = true;
                 }
             }



Mime
View raw message