projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Replace \D with [^0-9] in sensitive spots
[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
..
2ca9939
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/NoBindVars.pm
+++ b/
lib/DBIx/Class/Storage/DBI/NoBindVars.pm
@@
-99,7
+99,7
@@
sub interpolate_unquoted {
and
$_[1]
and
- $_[2] !~ /\D/
+ $_[2] !~ /[^0-9]/
and
$_[1] =~ /int(?:eger)? | (?:tiny|small|medium|big)int/ix
);