db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andre...@apache.org
Subject svn commit: r420863 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/DRDAConnThread.java
Date Tue, 11 Jul 2006 14:17:28 GMT
Author: andreask
Date: Tue Jul 11 07:17:28 2006
New Revision: 420863

URL: http://svn.apache.org/viewvc?rev=420863&view=rev
Log:
DERBY-1498 avoid tracing of LOB data in DRDAConnThread.readAndSetExtParams(..)

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?rev=420863&r1=420862&r2=420863&view=diff
==============================================================================
--- 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 Tue Jul 11
07:17:28 2006
@@ -4358,8 +4358,14 @@
 				{
 					case  DRDAConstants.DRDA_TYPE_LOBBYTES:
 					case  DRDAConstants.DRDA_TYPE_NLOBBYTES:
-						if (SanityManager.DEBUG)
-							trace("parameter value is: "+paramBytes);
+						if (SanityManager.DEBUG) {
+							if (paramBytes==null) {
+								trace("parameter value is NULL (LOB)");
+							} else {
+								trace("parameter value is a LOB with length: " + 
+									  paramBytes.length);
+							}
+						}
 						ps.setBytes(i+1, paramBytes);
 						break;
 					case DRDAConstants.DRDA_TYPE_LOBCSBCS:



Mime
View raw message