From: Rafael Kitover Date: Fri, 10 Jul 2009 10:52:13 +0000 (+0000) Subject: fix NoBindVars X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2f2da2c725db07667af7faee3b9ec0c41ef222da;p=dbsrgits%2FDBIx-Class-Historic.git fix NoBindVars --- diff --git a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm index 511b0ad..16b4aa3 100644 --- a/lib/DBIx/Class/Storage/DBI/NoBindVars.pm +++ b/lib/DBIx/Class/Storage/DBI/NoBindVars.pm @@ -49,7 +49,7 @@ sub _prep_for_execute { my @sql_part = split /\?/, $sql; my $new_sql; - my $alias2src = $self->_resolve_ident_sources($ident); + my ($alias2src, $rs_alias) = $self->_resolve_ident_sources($ident); foreach my $bound (@$bind) { my $col = shift @$bound;