...
 
Commits (4)
......@@ -40,7 +40,6 @@ sub perform_mapping {
my @final_results;
my $dbc;
if (defined $db_url) {
$source_id = 1;
my ($dbconn_part, $driver, $user, $pass, $host, $port, $dbname, $table_name, $tparam_name, $tparam_value, $conn_param_string) =
$db_url =~ m{^((\w*)://(?:(\w+)(?:\:([^/\@]*))?\@)?(?:([\w\-\.]+)(?:\:(\d*))?)?/([\w\-\.]*))(?:/(\w+)(?:\?(\w+)=([\w\[\]\{\}]*))?)?((?:;(\w+)=(\w+))*)$};
$dbc = Bio::EnsEMBL::DBSQL::DBConnection->new(
......
......@@ -56,7 +56,7 @@ use base qw( Exporter );
our @EXPORT = qw( software_version );
my $API_VERSION = 102;
my $API_VERSION = 103;
sub software_version { return $API_VERSION }
......
-- Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
-- Copyright [2016-2020] EMBL-European Bioinformatics Institute
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
# patch_102_103_a.sql
#
# Title: Update schema version.
#
# Description:
# Update schema_version in meta table to 103.
UPDATE meta SET meta_value='103' WHERE meta_key='schema_version';
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_102_103_a.sql|schema_version');
......@@ -308,13 +308,13 @@ CREATE TABLE IF NOT EXISTS meta (
# Add schema type and schema version to the meta table.
INSERT INTO meta (species_id, meta_key, meta_value) VALUES
(NULL, 'schema_type', 'core'),
(NULL, 'schema_version', '102');
(NULL, 'schema_version', '103');
# Patches included in this schema file:
# NOTE: At start of release cycle, remove patch entries from last release.
# NOTE: Avoid line-breaks in values.
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_101_102_a.sql|schema_version');
VALUES (NULL, 'patch', 'patch_102_103_a.sql|schema_version');
/**
......