db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre...@apache.org
Subject svn commit: r440062 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
Date Mon, 04 Sep 2006 13:05:33 GMT
Author: andreask
Date: Mon Sep  4 06:05:32 2006
New Revision: 440062

URL: http://svn.apache.org/viewvc?view=rev&rev=440062
Log:
DERBY-1800 testSetBinaryStreamLengthLessOnBlobTooLong fails with Unexpected SQL state. Fix
is to flush the BLOB data when there is an SQLException

Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java?view=diff&rev=440062&r1=440061&r2=440062
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java Mon Sep 
4 06:05:32 2006
@@ -948,6 +948,7 @@
 							curStmt.rsSuspend();
 					} catch (SQLException e)
 					{
+						skipRemainder(true);
 						writer.clearDSSesBackToMark(writerMark);
 						if (SanityManager.DEBUG) 
 						{



Mime
View raw message