projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added Justin Wheeler's Oracle 8 support
[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
b965053
..
2877ee2
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/NoBindVars.pm
+++ b/
lib/DBIx/Class/Storage/DBI/NoBindVars.pm
@@
-40,7
+40,7
@@
sub _prep_for_execute {
my $self = shift;
my ($sql, @bind) = $self->next::method(@_);
- $sql =~ s/\?/$self->_dbh->quote($_)/e for (@bind);
+ $sql =~ s/\?/$self->_dbh->quote(shift(@bind))/eg;
return ($sql);
}