projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
eef70ab
)
don't re-expand maybe list expr when already list
Matt S Trout [Wed, 10 Apr 2019 00:35:44 +0000 (
00:35
+0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
98379b8
..
2d587b4
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-1343,6
+1343,7
@@
sub _table {
sub _expand_maybe_list_expr {
my ($self, $expr, $default) = @_;
+ return $expr if ref($expr) eq 'HASH' and (($expr->{-op}||[''])->[0] eq ',');
return +{ -op => [ ',',
map $self->expand_expr($_, $default),
ref($expr) eq 'ARRAY' ? @$expr : $expr