empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r696093 - /incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBRecord.java
Date Tue, 16 Sep 2008 23:15:23 GMT
Author: doebele
Date: Tue Sep 16 16:15:22 2008
New Revision: 696093

URL: http://svn.apache.org/viewvc?rev=696093&view=rev
Log:
EMPIREDB-15

Modified:
    incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBRecord.java

Modified: incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBRecord.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBRecord.java?rev=696093&r1=696092&r2=696093&view=diff
==============================================================================
--- incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBRecord.java (original)
+++ incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/DBRecord.java Tue Sep
16 16:15:22 2008
@@ -98,6 +98,11 @@
                 fields = null;
             onRowSetChanged();
         }
+        else if (fields!=null)
+        {   // clear fields
+            for (int i=0; i<fields.length; i++)
+                fields[i]=null;
+        }
         // Set State
         changeState(state, rowSetData);
     }



Mime
View raw message