projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
eol adjustments
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
SQLAHacks.pm
diff --git
a/lib/DBIx/Class/SQLAHacks.pm
b/lib/DBIx/Class/SQLAHacks.pm
index
65e1a4f
..
b38dbf5
100644
(file)
--- a/
lib/DBIx/Class/SQLAHacks.pm
+++ b/
lib/DBIx/Class/SQLAHacks.pm
@@
-340,8
+340,11
@@
sub _recurse_from {
sub _fold_sqlbind {
my ($self, $sqlbind) = @_;
- my $sql = shift @$$sqlbind;
- push @{$self->{from_bind}}, @$$sqlbind;
+
+ my @sqlbind = @$$sqlbind; # copy
+ my $sql = shift @sqlbind;
+ push @{$self->{from_bind}}, @sqlbind;
+
return $sql;
}