X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FNoBindVars.pm;h=2ca9939bd894f1f2a74c263b5c11730ce521a6bf;hb=f033dcbe3fd1c8e70a26151555fe1cf6fc55a37f;hp=281e67edfded6203f1e79423d074fe90045d98b0;hpb=606ff399fbfb4ece89effeab2bc0ef23716b9e6b;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm index 281e67e..2ca9939 100644 --- 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 );