diff --git a/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm b/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm index ae70e9bde56d82eb48d3c5dda5426a52a90ba07a..aca64626061997d7482c83165ebf96b0461bc0aa 100644 --- a/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm +++ b/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisJobAdaptor.pm @@ -126,7 +126,7 @@ sub CreateNewJob { or die "Coule not run\n\t$sql\nwith data:\n\t(".join(',', @values).')'; my $job_id; - if($return_code > 0) { # <--- for the same reason we have to be expliticly numeric here: + if($return_code > 0) { # <--- for the same reason we have to be explicitly numeric here: $job_id = $dbc->db_handle->last_insert_id(undef, undef, 'job', 'job_id'); $sth->finish; diff --git a/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm b/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm index e4e6f3747ec807303a693dfe52e0ed4a66909578..a02be2852f98e9326533986b67dc3bee524c8bcc 100644 --- a/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm +++ b/modules/Bio/EnsEMBL/Hive/DBSQL/BaseAdaptor.pm @@ -314,7 +314,7 @@ sub store { my $return_code = $this_sth->execute( @$values_being_stored ) # using $return_code in boolean context allows to skip the value '0E0' ('no rows affected') that Perl treats as zero but regards as true: or die "Could not store fields\n\t{$column_key}\nwith data:\n\t(".join(',', @$values_being_stored).')'; - if($return_code > 0) { # <--- for the same reason we have to be expliticly numeric here + if($return_code > 0) { # <--- for the same reason we have to be explicitly numeric here $self->mark_stored($object, $self->dbc->db_handle->last_insert_id(undef, undef, $table_name, $autoinc_id) ); } }