summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB/Schema
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/DB/Schema')
-rw-r--r--Bugzilla/DB/Schema/Mysql.pm4
-rw-r--r--Bugzilla/DB/Schema/Oracle.pm2
-rw-r--r--Bugzilla/DB/Schema/Pg.pm2
-rw-r--r--Bugzilla/DB/Schema/Sqlite.pm2
4 files changed, 5 insertions, 5 deletions
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;