From 86fb87f1a65a17e7a86fe71b06d57767b0b3ea3b Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 29 Feb 2016 19:34:34 +0100 Subject: Bug 1136137: Require Perl 5.14 r=dkl --- Bugzilla/DB/Mysql.pm | 2 +- Bugzilla/DB/Oracle.pm | 4 ++-- Bugzilla/DB/Pg.pm | 2 +- Bugzilla/DB/Schema.pm | 2 +- Bugzilla/DB/Schema/Mysql.pm | 4 ++-- Bugzilla/DB/Schema/Oracle.pm | 2 +- Bugzilla/DB/Schema/Pg.pm | 2 +- Bugzilla/DB/Schema/Sqlite.pm | 2 +- Bugzilla/DB/Sqlite.pm | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) (limited to 'Bugzilla/DB') diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm index 402e9c58b..858b58fee 100644 --- a/Bugzilla/DB/Mysql.pm +++ b/Bugzilla/DB/Mysql.pm @@ -21,7 +21,7 @@ For interface details see L and L. package Bugzilla::DB::Mysql; -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Oracle.pm b/Bugzilla/DB/Oracle.pm index 51678dec9..e863bac42 100644 --- a/Bugzilla/DB/Oracle.pm +++ b/Bugzilla/DB/Oracle.pm @@ -21,7 +21,7 @@ For interface details see L and L. package Bugzilla::DB::Oracle; -use 5.10.1; +use 5.14.0; use strict; use warnings; @@ -719,7 +719,7 @@ sub _get_create_trigger_ddl { package Bugzilla::DB::Oracle::st; -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm index ac9ec6309..9ef7f77f1 100644 --- a/Bugzilla/DB/Pg.pm +++ b/Bugzilla/DB/Pg.pm @@ -21,7 +21,7 @@ For interface details see L and L. package Bugzilla::DB::Pg; -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index d770f2358..ca3839ca6 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -15,7 +15,7 @@ package Bugzilla::DB::Schema; # ########################################################################### -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Schema/Mysql.pm b/Bugzilla/DB/Schema/Mysql.pm index db01e971d..59066bdc4 100644 --- a/Bugzilla/DB/Schema/Mysql.pm +++ b/Bugzilla/DB/Schema/Mysql.pm @@ -13,7 +13,7 @@ package Bugzilla::DB::Schema::Mysql; # ############################################################################### -use 5.10.1; +use 5.14.0; use strict; use warnings; @@ -311,7 +311,7 @@ sub column_info_to_column { $default = 0 if $default =~ /^0\.0+$/; # If we're not a number, we're a string and need to be # quoted. - $default = $dbh->quote($default) if !($default =~ /^(-)?(\d+)(.\d+)?$/); + $default = $dbh->quote($default) if !($default =~ /^(-)?(\d+)(\.\d+)?$/a); $column->{DEFAULT} = $default; } } diff --git a/Bugzilla/DB/Schema/Oracle.pm b/Bugzilla/DB/Schema/Oracle.pm index 8fb5479b1..c3868ad44 100644 --- a/Bugzilla/DB/Schema/Oracle.pm +++ b/Bugzilla/DB/Schema/Oracle.pm @@ -13,7 +13,7 @@ package Bugzilla::DB::Schema::Oracle; # ############################################################################### -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Schema/Pg.pm b/Bugzilla/DB/Schema/Pg.pm index dd8531927..c82c373b7 100644 --- a/Bugzilla/DB/Schema/Pg.pm +++ b/Bugzilla/DB/Schema/Pg.pm @@ -13,7 +13,7 @@ package Bugzilla::DB::Schema::Pg; # ############################################################################### -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Schema/Sqlite.pm b/Bugzilla/DB/Schema/Sqlite.pm index ccdbfd8aa..935bf8e37 100644 --- a/Bugzilla/DB/Schema/Sqlite.pm +++ b/Bugzilla/DB/Schema/Sqlite.pm @@ -7,7 +7,7 @@ package Bugzilla::DB::Schema::Sqlite; -use 5.10.1; +use 5.14.0; use strict; use warnings; diff --git a/Bugzilla/DB/Sqlite.pm b/Bugzilla/DB/Sqlite.pm index 0cdfa3477..e3cc93a82 100644 --- a/Bugzilla/DB/Sqlite.pm +++ b/Bugzilla/DB/Sqlite.pm @@ -7,7 +7,7 @@ package Bugzilla::DB::Sqlite; -use 5.10.1; +use 5.14.0; use strict; use warnings; -- cgit v1.2.3-24-g4f1b