projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
And lose yet another dependency: List::Util (yes, I know it's core)
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
NoBindVars.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm
b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm
index
281e67e
..
495b3c8
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/NoBindVars.pm
+++ b/
lib/DBIx/Class/Storage/DBI/NoBindVars.pm
@@
-7,9
+7,6
@@
use base 'DBIx::Class::Storage::DBI';
use mro 'c3';
use DBIx::Class::SQLMaker::LimitDialects;
-use List::Util qw/first/;
-
-use namespace::clean;
=head1 NAME
@@
-99,7
+96,7
@@
sub interpolate_unquoted {
and
$_[1]
and
- $_[2] !~ /\D/
+ $_[2] !~ /[^0-9]/
and
$_[1] =~ /int(?:eger)? | (?:tiny|small|medium|big)int/ix
);