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-hive
Commits
bbd03412
Commit
bbd03412
authored
Jan 19, 2015
by
Leo Gordon
Browse files
grab_jobs_for_role now uses PPE instead of bare do()
parent
5edd33f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
+3
-3
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
View file @
bbd03412
...
...
@@ -416,9 +416,9 @@ sub grab_jobs_for_role {
}
;
# we have to be explicitly numeric here because of '0E0' value returned by DBI if "no rows have been affected":
if
(
(
my
$claim_count
=
$self
->
dbc
->
do
(
$prefix_sql
.
$virgin_sql
.
$limit_sql
.
$offset_sql
.
$suffix_sql
))
==
0
)
{
if
(
(
$claim_count
=
$self
->
dbc
->
do
(
$prefix_sql
.
$limit_sql
.
$offset_sql
.
$suffix_sql
))
==
0
)
{
$claim_count
=
$self
->
dbc
->
do
(
$prefix_sql
.
$limit_sql
.
$suffix_sql
);
if
(
(
my
$claim_count
=
$self
->
dbc
->
protected_prepare_execute
(
$prefix_sql
.
$virgin_sql
.
$limit_sql
.
$offset_sql
.
$suffix_sql
))
==
0
)
{
if
(
(
$claim_count
=
$self
->
dbc
->
protected_prepare_execute
(
$prefix_sql
.
$limit_sql
.
$offset_sql
.
$suffix_sql
))
==
0
)
{
$claim_count
=
$self
->
dbc
->
protected_prepare_execute
(
$prefix_sql
.
$limit_sql
.
$suffix_sql
);
}
}
...
...
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