projects
/
dbsrgits/SQL-Abstract.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
16b0a9e
)
remove a literal "" in favour of undef
Matt S Trout [Wed, 27 Feb 2019 06:23:49 +0000 (06:23 +0000)]
lib/SQL/Abstract.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract.pm
b/lib/SQL/Abstract.pm
index
57186d2
..
092598b
100644
(file)
--- a/
lib/SQL/Abstract.pm
+++ b/
lib/SQL/Abstract.pm
@@
-691,7
+691,7
@@
sub _expand_expr_hashpair {
sort keys %$v
] };
}
- return { -literal => [ '' ] } unless keys %$v;
+ return undef unless keys %$v;
my ($vk, $vv) = %$v;
$vk =~ s/^-//;
$vk = lc($vk);