projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7e95f13
)
literals on the other side of = are acceptable for a fixed condition
Matt S Trout [Sun, 17 Nov 2013 04:09:15 +0000 (
04:09
+0000)]
lib/DBIx/Class/ResultSource.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSource.pm
b/lib/DBIx/Class/ResultSource.pm
index
e9b0f25
..
d23497c
100644
(file)
--- a/
lib/DBIx/Class/ResultSource.pm
+++ b/
lib/DBIx/Class/ResultSource.pm
@@
-1547,7
+1547,7
@@
sub _extract_fixed_values_for {
return +{ map {
is_Value($fixed->{$_})
? ($_ => $fixed->{$_}{value})
- : ()
+ : (is_Literal($fixed->{$_}) ? ($_ => \($fixed->{$_})) : ())
} keys %$fixed };
}