Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
f98ede6a
Commit
f98ede6a
authored
Mar 06, 2015
by
Leo Gordon
Browse files
bugfix [to
bee183d1
] : make sure our deletion matches the primary key constraint
parent
762e8239
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm
View file @
f98ede6a
...
...
@@ -306,7 +306,7 @@ sub store_out_files {
# FIXME: An UPSERT would be better here, but it is only promised in PostgreSQL starting from 9.5, which is not officially out yet.
my
$delete_sql
=
'
DELETE from job_file WHERE
role_id=
'
.
$job
->
role_id
.
'
AND
job_id=
'
.
$job
->
dbID
.
'
AND retry=
'
.
$job
->
retry_count
;
my
$delete_sql
=
'
DELETE from job_file WHERE job_id=
'
.
$job
->
dbID
.
'
AND retry=
'
.
$job
->
retry_count
;
$self
->
dbc
->
do
(
$delete_sql
);
if
(
$job
->
stdout_file
or
$job
->
stderr_file
)
{
...
...
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