projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b18a95e
)
kill last empty string literal
Matt S Trout [Wed, 27 Feb 2019 06:27:29 +0000 (06:27 +0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
a7b0da5
..
9d7d4a3
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-517,7
+517,7
@@
sub _expand_expr {
sort keys %$expr
] };
}
- return { -literal => [ '' ] } unless keys %$expr;
+ return undef unless keys %$expr;
return $self->_expand_expr_hashpair(%$expr, $logic);
}
if (ref($expr) eq 'ARRAY') {