empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r691580 - /incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/expr/column/DBCountExpr.java
Date Wed, 03 Sep 2008 11:37:27 GMT
Author: doebele
Date: Wed Sep  3 04:37:27 2008
New Revision: 691580

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

Modified:
    incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/expr/column/DBCountExpr.java

Modified: incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/expr/column/DBCountExpr.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/expr/column/DBCountExpr.java?rev=691580&r1=691579&r2=691580&view=diff
==============================================================================
--- incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/expr/column/DBCountExpr.java
(original)
+++ incubator/empire-db/trunk/core/Empire-db/src/org/apache/empire/db/expr/column/DBCountExpr.java
Wed Sep  3 04:37:27 2008
@@ -73,8 +73,9 @@
     public DBDatabase getDatabase()
     {
         if (column!=null)
-            column.getDatabase();
-        return rowset.getDatabase();
+            return column.getDatabase();
+        else
+            return rowset.getDatabase();
     }
 
     /**



Mime
View raw message