Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
0b4816bd
Commit
0b4816bd
authored
Dec 21, 2010
by
Ian Longden
Browse files
LIKE and = the wrong way round in the test
parent
2cfd651e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm
+4
-4
No files found.
modules/Bio/EnsEMBL/DBSQL/DBEntryAdaptor.pm
View file @
0b4816bd
...
...
@@ -1133,20 +1133,20 @@ SSQL
if
(
defined
(
$exdbname
)
)
{
if
(
index
(
$exdbname
,
'
%
'
)
!=
-
1
)
{
$sql
.=
"
AND exDB.db_name
=
"
$sql
.=
"
AND exDB.db_name
LIKE
"
.
$self
->
dbc
()
->
db_handle
()
->
quote
(
$exdbname
,
SQL_VARCHAR
);
}
else
{
$sql
.=
"
AND exDB.db_name
LIKE
"
$sql
.=
"
AND exDB.db_name
=
"
.
$self
->
dbc
()
->
db_handle
()
->
quote
(
$exdbname
,
SQL_VARCHAR
);
}
}
if
(
defined
(
$exdb_type
)
)
{
if
(
index
(
$exdb_type
,
'
%
'
)
!=
-
1
)
{
$sql
.=
"
AND exDB.type
=
"
$sql
.=
"
AND exDB.type
LIKE
"
.
$self
->
dbc
()
->
db_handle
()
->
quote
(
$exdb_type
,
SQL_VARCHAR
);
}
else
{
$sql
.=
"
AND exDB.type
LIKE
"
$sql
.=
"
AND exDB.type
=
"
.
$self
->
dbc
()
->
db_handle
()
->
quote
(
$exdb_type
,
SQL_VARCHAR
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment