From c038d8ef0254c5bb84c1fdfdcc70f7761cddbccd Mon Sep 17 00:00:00 2001
From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04>
Date: Tue, 14 Oct 2008 10:16:40 +0000
Subject: [PATCH] speed up getFeature

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@9006 ee4ac58c-ac51-4696-9907-e4b3aa274f04
---
 artemis_sqlmap/Feature.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/artemis_sqlmap/Feature.xml b/artemis_sqlmap/Feature.xml
index 52e62773e..593e6784e 100644
--- a/artemis_sqlmap/Feature.xml
+++ b/artemis_sqlmap/Feature.xml
@@ -189,10 +189,7 @@
       fp.value,
       fl.phase
     FROM feature f
-	LEFT JOIN featureloc fl ON ( f.feature_id  = fl.feature_id
-	  <isGreaterThan property="featureLoc.featureBySrcFeatureId.featureId" compareValue="0"> 
-          AND srcfeature_id=$featureLoc.featureBySrcFeatureId.featureId$ 
-      </isGreaterThan> )
+	LEFT JOIN featureloc fl ON ( f.feature_id  = fl.feature_id )
     LEFT JOIN feature_relationship fr ON fr.subject_id = f.feature_id
     LEFT JOIN featureprop fp          ON fp.feature_id = f.feature_id
 	LEFT JOIN dbxref dbx              ON f.dbxref_id   = dbx.dbxref_id
-- 
GitLab