[MOBY-guts] biomoby commit

Mark Wilkinson mwilkinson at pub.open-bio.org
Tue Jul 26 23:39:33 UTC 2005


mwilkinson
Tue Jul 26 19:39:33 EDT 2005
Update of /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi
In directory pub.open-bio.org:/tmp/cvs-serv25948/MOBY/Adaptor/moby/queryapi

Modified Files:
	mysql.pm 
Log Message:
fixing extra where in auto-generated SQL

moby-live/Perl/MOBY/Adaptor/moby/queryapi mysql.pm,1.40,1.41
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm	2005/07/26 23:36:26	1.40
+++ /home/repository/moby/moby-live/Perl/MOBY/Adaptor/moby/queryapi/mysql.pm	2005/07/26 23:39:33	1.41
@@ -917,9 +917,9 @@
 	return [{}] unless $type;
 	my $condition = "";
 	if ($type =~ /^urn\:lsid/){
-	    $condition = " where relationship_lsid = ? and ";
+	    $condition = "  relationship_lsid = ? and ";
 	} elsif ($type) {
-	    $condition = " where relationship_type = ? and ";
+	    $condition = "  relationship_type = ? and ";
 	}
 	my $ont = $args{ontology};
 	




More information about the MOBY-guts mailing list