From: Peter Rabbitson Date: Sun, 23 Aug 2009 08:00:34 +0000 (+0000) Subject: Minaor speedup X-Git-Tag: v0.08112~14^2~56 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7c63f828e43fbae10a28a9894483b735c88bc0d3;p=dbsrgits%2FDBIx-Class.git Minaor speedup --- diff --git a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm index 126b9de..1ccc12e 100644 --- a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm +++ b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm @@ -40,11 +40,11 @@ Manually subs in the values for the usual C placeholders. sub _prep_for_execute { my $self = shift; - my ($op, $extra_bind, $ident, $args) = @_; - my ($sql, $bind) = $self->next::method(@_); - # stringify args, quote via $dbh, and manually insert + # stringify bind args, quote via $dbh, and manually insert + #my ($op, $extra_bind, $ident, $args) = @_; + my $ident = $_[2]; my @sql_part = split /\?/, $sql; my $new_sql;